Part of fix for #5

pull/7/head
aabluedragon 2 years ago
parent d078b1de6e
commit 22d05745ab

@ -8,7 +8,9 @@ function transpile(code) {
return babelCore.transformSync(code, {
plugins: [
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