Skip to content

Commit

Permalink
fix: transform nullish coalescing; fix symbol-tree build
Browse files Browse the repository at this point in the history
# Conflicts:
#	scripts/shims.js
  • Loading branch information
taye authored and interactjs-ci committed Nov 26, 2023
1 parent 81f1516 commit 5edf547
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ module.exports = {
isProd && require.resolve('./scripts/babel/for-of-array'),
isProd && require.resolve('@babel/plugin-proposal-optional-catch-binding'),
isProd && [require.resolve('@babel/plugin-proposal-optional-chaining'), { loose: true }],
isProd && [require.resolve('@babel/plugin-proposal-nullish-coalescing-operator'), { loose: true }],
[require.resolve('@babel/plugin-transform-modules-commonjs'), { noInterop: isProd }],
].filter(Boolean),
}

0 comments on commit 5edf547

Please sign in to comment.