babel/packages/babel-plugin-transform-react-jsx-source
Moti Zilberman 1971b7e87d
feat(react-jsx-source): add columnNumber property (#11139)
* feat(react-jsx-source): add column property

This will be useful to tools that consume the injected `__source` prop, allowing precise source locations to be displayed.

* Rename column -> columnNumber, make 1-based
2020-03-16 22:59:22 +01:00
..
2017-03-25 21:46:16 -04:00
2020-01-13 22:36:19 +01: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