Closed javierbyte closed 3 years ago
Hi there and thanks for the PR,
Node v14 supports the nullish coalescing operator, as does the CRA setup since 2019, but indeed CRA's development targets combined with native support in some browsers seemingly trips up webpack.. This solution will likely work for you in the meantime.
Hello, I'm using node
v14.17.0
andreact-scripts
4.0.3
. In1.2.4
I get an error related to the??
operator when trying to run a project:This error is not present at least in
1.2.1
.If this is not expected I should be able to make a PR to make sure to to transform those operators. Thanks for the great work!
Update: I created a PR #199