Created by: ianschmitz
Fixes #8445 (closed)
The optional chaining and nullish coalescing plugins are now supported by @babel/preset-env
, however webpack is currently lacking support for this syntax due to https://github.com/acornjs/acorn/pull/890 and https://github.com/acornjs/acorn/pull/891 it appears.
This issue would happen when using an aggressive browserslist
configuration such as last 1 chrome version
, as chrome 80 that was recently released includes native support, and therefore this syntax was no longer transformed which would cause webpack to choke.