Unverified Commit f7f376f9 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Ensure optional-chaining/nullish coalescing is included (#17429)

parent 489b13d0
...@@ -79,6 +79,10 @@ module.exports = ( ...@@ -79,6 +79,10 @@ module.exports = (
// In production/development this option is set to `false` so that webpack can handle import/export with tree-shaking // In production/development this option is set to `false` so that webpack can handle import/export with tree-shaking
modules: 'auto', modules: 'auto',
exclude: ['transform-typeof-symbol'], exclude: ['transform-typeof-symbol'],
include: [
'@babel/plugin-proposal-optional-chaining',
'@babel/plugin-proposal-nullish-coalescing-operator',
],
...options['preset-env'], ...options['preset-env'],
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment