From 5febcf278bbf8f01f32d11ee0824eee128608195 Mon Sep 17 00:00:00 2001 From: Taye Adeyemi Date: Sun, 26 Nov 2023 15:05:28 +0100 Subject: [PATCH] fix: transform nullish coalescing; fix symbol-tree build # Conflicts: # scripts/shims.js --- babel.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/babel.config.js b/babel.config.js index 15bb96337..5bfb48baf 100644 --- a/babel.config.js +++ b/babel.config.js @@ -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), }