babel/packages/babel-plugin-transform-react-jsx-source
Justin Ridgewell a5bc48661b
Isolated exec tests (#11531)
* Run exec tests in fresh contexts

* Reevaluate modules in every context

* Cache module code when running tests

* Eliminate weakmap accesses as much as possible

* Remove old multiline usage

* Using bundled polyfill to significantly increase performance

The individual requires for each file were the part that was sooooo slow.

* Drop LRU cache size

* Fixes

* Fix test

Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
2020-08-10 18:57:48 -04:00
..
2020-08-10 18:57:48 -04:00
2017-03-25 21:46:16 -04:00
2020-07-14 14:10:36 -04:00

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

Add a __source prop to all JSX Elements

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

Install

Using npm:

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

or using yarn:

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