Add experimental version of the `babel-plugin-transform-react-… (#11154)

* add next option for babel-plugin-transform-react-jsx

* address review comments

* chore: update test fixtures

* Update fixture

* Add "columnNumber" to the new React transform

* Update windows fixtures

* Delete unused output.js

* Update windows tests

* Fix windows again

* fix comments

Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
Co-authored-by: Moti Zilberman <motiz88@gmail.com>
This commit is contained in:
Luna Ruan
2020-03-17 01:16:53 -07:00
committed by GitHub
parent 10aa97bc10
commit 748897be07
337 changed files with 3311 additions and 105 deletions

View File

@@ -13,6 +13,7 @@
],
"dependencies": {
"@babel/helper-builder-react-jsx": "^7.8.3",
"@babel/helper-builder-react-jsx-experimental": "^7.8.3",
"@babel/helper-plugin-utils": "^7.8.3",
"@babel/plugin-syntax-jsx": "^7.8.3"
},