* [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>
4 lines
66 B
JSON
4 lines
66 B
JSON
{
|
|
"plugins": [["transform-react-jsx", { "useSpread": true }]]
|
|
}
|