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