Skip to content

Commit

Permalink
chore: use loose mode of transform (babel#10718)
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung authored and existentialism committed Nov 15, 2019
1 parent b4c4260 commit 5bb4ee7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ module.exports = function(api) {
"@babel/proposal-object-rest-spread",
{ useBuiltIns: true, loose: true },
],
"@babel/plugin-proposal-optional-chaining",
"@babel/plugin-proposal-nullish-coalescing-operator",
["@babel/plugin-proposal-optional-chaining", { loose: true }],
["@babel/plugin-proposal-nullish-coalescing-operator", { loose: true }],

convertESM ? "@babel/transform-modules-commonjs" : null,
].filter(Boolean),
Expand Down

0 comments on commit 5bb4ee7

Please sign in to comment.