about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2023-04-11 14:24:26 +0200
committerGitHub <noreply@github.com>2023-04-11 14:24:26 +0200
commit8eeb0ae7c0c6e9c37f581f87ad8b688daaf8af4c (patch)
treee71d60b6a6e6bf909e19fd7da0e0520298ec101c
parentfe841b6bb623b649718bff68ca5bca41b03cf1bc (diff)
Explicitly enable `@babel/plugin-proposal-optional-chaining` to fix build failures (#24504)
-rw-r--r--babel.config.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/babel.config.js b/babel.config.js
index 9ed074099..0b81f1453 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: [