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: [ plugins: [
['react-intl', { messagesDir: './build/messages' }], ['react-intl', { messagesDir: './build/messages' }],
'preval', 'preval',
'@babel/plugin-proposal-optional-chaining',
'@babel/plugin-proposal-nullish-coalescing-operator', '@babel/plugin-proposal-nullish-coalescing-operator',
], ],
overrides: [ overrides: [