Skip to content

Conversation

@ianschmitz
Copy link
Contributor

Fixes #8445

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 acornjs/acorn#890 and acornjs/acorn#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.

@ianschmitz ianschmitz added this to the 3.4.1 milestone Feb 20, 2020
@ianschmitz ianschmitz merged commit 2030ee1 into facebook:master Feb 20, 2020
@ianschmitz ianschmitz deleted the fix-babel-plugins branch February 20, 2020 21:33
@lock lock bot locked and limited conversation to collaborators Feb 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

2 participants