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

pull/59/head
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
1 changed files with 1 additions and 0 deletions

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