Skip to content

Commit 5edf547

Browse files
tayeinteractjs-ci
authored andcommitted
fix: transform nullish coalescing; fix symbol-tree build
# Conflicts: # scripts/shims.js
1 parent 81f1516 commit 5edf547

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

babel.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ module.exports = {
2121
isProd && require.resolve('./scripts/babel/for-of-array'),
2222
isProd && require.resolve('@babel/plugin-proposal-optional-catch-binding'),
2323
isProd && [require.resolve('@babel/plugin-proposal-optional-chaining'), { loose: true }],
24+
isProd && [require.resolve('@babel/plugin-proposal-nullish-coalescing-operator'), { loose: true }],
2425
[require.resolve('@babel/plugin-transform-modules-commonjs'), { noInterop: isProd }],
2526
].filter(Boolean),
2627
}

0 commit comments

Comments
 (0)