Don't use useESModules in @babel/runtime build script (#12842)
This commit is contained in:
parent
ba4ac7d587
commit
eefd83794c
@ -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),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user