Explicitly enable @babel/plugin-proposal-optional-chaining to fix build failures (#24504)

This commit is contained in:
Claire 2023-04-11 14:24:26 +02:00 committed by GitHub
parent fe841b6bb6
commit 8eeb0ae7c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: [