* 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>
17 lines
599 B
JSON
17 lines
599 B
JSON
{
|
|
"plugins": [
|
|
[
|
|
"transform-react-jsx",
|
|
{
|
|
"autoImport": "namedExports",
|
|
"runtime": "automatic"
|
|
}
|
|
],
|
|
"transform-react-jsx-source",
|
|
"transform-react-jsx-self"
|
|
],
|
|
"sourceType": "module",
|
|
"os": ["win32"],
|
|
"throws": "__source and __self should not be defined in props. You are most likely using the deprecated transform-react-jsx-self or transform-react-jsx-source Babel plugins. __source and __self will be set automatically in automatic runtime. Please remove transform-react-jsx-self or transform-react-jsx-source from your Babel config."
|
|
}
|