Skip to content

Commit

Permalink
Don't use useESModules in @babel/runtime build script (#12842)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Feb 22, 2021
1 parent ba4ac7d commit eefd837
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,7 @@ function buildHelper(
],
],
plugins: [
[
transformRuntime,
{ corejs, useESModules: esm, version: runtimeVersion },
],
[transformRuntime, { corejs, version: runtimeVersion }],
buildRuntimeRewritePlugin(runtimeName, helperName),
esm ? null : addDefaultCJSExport,
].filter(Boolean),
Expand Down

0 comments on commit eefd837

Please sign in to comment.