diff --git a/index.js b/index.js index 89686c9..0592b40 100644 --- a/index.js +++ b/index.js @@ -34,7 +34,7 @@ const defaultOptions = { '@babel/plugin-proposal-object-rest-spread', ].map(require.resolve), [require.resolve('@babel/plugin-transform-runtime'), { - moduleName: path.dirname(require.resolve('@babel/runtime/package')), + absoluteRuntime: path.dirname(require.resolve('@babel/runtime/package')), }], ], presets: [