mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
bd2cf53c3b4a5439c7bb14c3db2a517331cddfb2
This is a babel bug + edge case.
Babel compact mode produces invalid JavaScript (i.e. parse error) when
given a `NumericLiteral` with a negative value.
See https://codesandbox.io/p/devbox/5d47fr for repro.
DiffTrain build for [526dd340b3](https://github.com/facebook/react/commit/526dd340b3e77193846fe5eed02b9bb89d7c2d15)
react-fbsource-import
Languages
JavaScript
67.1%
TypeScript
29.4%
HTML
1.5%
CSS
1.1%
C++
0.6%
Other
0.2%