babel/packages/babel-plugin-transform-react-jsx-self
Luna Ruan 748897be07
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>
2020-03-17 09:16:53 +01:00
..
2018-11-18 23:02:58 +01:00
2017-03-25 21:46:16 -04:00
2020-01-13 22:36:19 +01:00

@babel/plugin-transform-react-jsx-self

Add a __self prop to all JSX Elements

See our website @babel/plugin-transform-react-jsx-self for more information.

Install

Using npm:

npm install --save-dev @babel/plugin-transform-react-jsx-self

or using yarn:

yarn add @babel/plugin-transform-react-jsx-self --dev