Skip to content

Commit

Permalink
Set babel options explicitly
Browse files Browse the repository at this point in the history
Fixes the following warning:

babelHelpers: 'bundled' option was used by default. It is recommended to configure
this option explicitly
  • Loading branch information
chrisn committed Jun 3, 2023
1 parent aae20c5 commit b395716
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export default {
babel({
include: 'src/**/*.js',
exclude: 'node_modules/**',
babelHelpers: 'bundled'
}),
],
output: [
Expand All @@ -19,5 +20,5 @@ export default {
file: './dist/rollup-plugin-peer-deps-external.module.js',
format: 'es',
}
],
]
}

0 comments on commit b395716

Please sign in to comment.