* [transform-react-jsx] Add useSpread option to transform JSX * Add validation for default option * Add error when using useSpread and useBuiltIns at the same time * Move useSpread to convertAttribute helper function * Add useSpread option to presect-react * Remove casting useSpread to boolean in preset-react option. Co-Authored-By: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
5 lines
172 B
JSON
5 lines
172 B
JSON
{
|
|
"plugins": [["transform-react-jsx", { "useSpread": 0 }]],
|
|
"throws": "transform-react-jsx currently only accepts a boolean option for useSpread (defaults to false)"
|
|
}
|