master
aabluedragon 2 years ago
parent 347fac51d8
commit d4e51bd6ee

@ -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")
] ]
}); });
} }

Loading…
Cancel
Save