From d4e51bd6ee6fa9d96e38924b558c1d6ec4477e68 Mon Sep 17 00:00:00 2001 From: aabluedragon Date: Sun, 15 Jan 2023 22:02:46 +0100 Subject: [PATCH] Fix for #2 --- index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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") ] }); }