chore: use loose mode of transform (#10718)
This commit is contained in:
parent
b4c42601d1
commit
5bb4ee73da
@ -77,8 +77,8 @@ module.exports = function(api) {
|
|||||||
"@babel/proposal-object-rest-spread",
|
"@babel/proposal-object-rest-spread",
|
||||||
{ useBuiltIns: true, loose: true },
|
{ useBuiltIns: true, loose: true },
|
||||||
],
|
],
|
||||||
"@babel/plugin-proposal-optional-chaining",
|
["@babel/plugin-proposal-optional-chaining", { loose: true }],
|
||||||
"@babel/plugin-proposal-nullish-coalescing-operator",
|
["@babel/plugin-proposal-nullish-coalescing-operator", { loose: true }],
|
||||||
|
|
||||||
convertESM ? "@babel/transform-modules-commonjs" : null,
|
convertESM ? "@babel/transform-modules-commonjs" : null,
|
||||||
].filter(Boolean),
|
].filter(Boolean),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user