From 8eeb0ae7c0c6e9c37f581f87ad8b688daaf8af4c Mon Sep 17 00:00:00 2001 From: Claire Date: Tue, 11 Apr 2023 14:24:26 +0200 Subject: [PATCH] Explicitly enable `@babel/plugin-proposal-optional-chaining` to fix build failures (#24504) --- babel.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/babel.config.js b/babel.config.js index 9ed07409935..0b81f1453fe 100644 --- a/babel.config.js +++ b/babel.config.js @@ -20,6 +20,7 @@ module.exports = (api) => { plugins: [ ['react-intl', { messagesDir: './build/messages' }], 'preval', + '@babel/plugin-proposal-optional-chaining', '@babel/plugin-proposal-nullish-coalescing-operator', ], overrides: [