Explicitly enable `@babel/plugin-proposal-optional-chaining` to fix build failures (#24504)
This commit is contained in:
parent
fe841b6bb6
commit
8eeb0ae7c0
|
@ -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: [
|
||||||
|
|
Reference in New Issue