Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Aug 3, 2023
1 parent 912fd53 commit b8eb700
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/babel-preset-env/src/polyfills/babel-7-plugins.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,12 @@ if (!process.env.BABEL_8_BREAKING) {
require("babel-plugin-polyfill-regenerator").default;
exports.legacyBabelPolyfillPlugin = require("./babel-polyfill.cjs");
exports.removeRegeneratorEntryPlugin = require("./regenerator.cjs");
} else {
// So that Node.js finds the export names even when building for Babel 8 with
// STRIP_BABEL_8_FLAG enabled.
exports.pluginCoreJS2 =
exports.pluginRegenerator =
exports.legacyBabelPolyfillPlugin =
exports.removeRegeneratorEntryPlugin =
void 0;
}

0 comments on commit b8eb700

Please sign in to comment.