Skip to content

Commit

Permalink
Fix bundling
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Oct 9, 2024
1 parent 817cd3c commit 00dc0f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Gulpfile.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ function buildRollup(packages, buildStandalone) {
// We have manually applied commonjs-esm interop to the source
// for library not in this monorepo
// https://github.com/babel/babel/pull/12795
if (!id.startsWith("@babel/")) return "compat";
if (!id.startsWith("@babel/")) return "default";

// Some syntax plugins have been archived
if (id.includes("plugin-syntax")) {
Expand All @@ -536,7 +536,7 @@ function buildRollup(packages, buildStandalone) {
return "compat";
}

return "default";
return "auto";
},
});

Expand Down

0 comments on commit 00dc0f5

Please sign in to comment.