diff --git a/rollup.config.js b/rollup.config.js index 7b9fb72ba..ae7cd7437 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -39,7 +39,7 @@ bundles = bundles.flatMap(bundle => { export default { input: "src/index.js", output: bundles, - plugins: [commonjs(), nodeResolve(), babel({ babelHelpers: 'bundled' })], + plugins: [commonjs(), nodeResolve(), babel({ babelHelpers: 'bundled', exclude: 'node_modules/**' })], onwarn (warning, rollupWarn) { if (warning.code !== 'CIRCULAR_DEPENDENCY') { rollupWarn(warning);