Skip to content

Commit

Permalink
instruct Rollup that available-plugins needs to be transformed to ESM
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Mar 30, 2021
1 parent 84d5567 commit e9ef29c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Gulpfile.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,8 @@ function buildRollup(packages, targetBrowsers) {
"packages/*/src/**/*.cjs",
// See the comment in this file for the reason to include it
"packages/babel-standalone/src/dynamic-require-entrypoint.cjs",
// We use CommonJS require to lazy load plugins
"packages/babel-preset-env/src/available-plugins.js",
],
dynamicRequireTargets: [
// https://github.com/mathiasbynens/regexpu-core/blob/ffd8fff2e31f4597f6fdfee75d5ac1c5c8111ec3/rewrite-pattern.js#L48
Expand Down

0 comments on commit e9ef29c

Please sign in to comment.