DELETE #8

Closed
aabluedragon wants to merge 2 commits from aabluedragon/fix-esm:master into master

@ -8,7 +8,9 @@ function transpile(code) {
return babelCore.transformSync(code, { return babelCore.transformSync(code, {
plugins: [ plugins: [
require.resolve("@babel/plugin-proposal-export-namespace-from"), require.resolve("@babel/plugin-proposal-export-namespace-from"),
require.resolve("@babel/plugin-transform-modules-commonjs") require.resolve("@babel/plugin-transform-modules-commonjs"),
require.resolve("@babel/plugin-transform-runtime"),
require.resolve("babel-plugin-transform-import-meta")
] ]
}); });
} }

@ -13,6 +13,8 @@
"dependencies": { "dependencies": {
"@babel/core": "^7.14.6", "@babel/core": "^7.14.6",
"@babel/plugin-proposal-export-namespace-from": "^7.14.5", "@babel/plugin-proposal-export-namespace-from": "^7.14.5",
"@babel/plugin-transform-modules-commonjs": "^7.14.5" "@babel/plugin-transform-modules-commonjs": "^7.14.5",
"@babel/plugin-transform-runtime": "^7.19.6",
"babel-plugin-transform-import-meta": "^2.2.0"
} }
} }

Loading…
Cancel
Save