diff --git a/index.js b/index.js index c421292..2bfe19a 100644 --- a/index.js +++ b/index.js @@ -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") ] }); }