Skip to content

Commit

Permalink
Do not run babel on core-js
Browse files Browse the repository at this point in the history
  • Loading branch information
jgerigmeyer committed Sep 9, 2022
1 parent c9f76e8 commit dd8c9fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit dd8c9fa

Please sign in to comment.