The "react" preset is composed of a bunch of plugins. https://babeljs.io/docs/plugins/preset-react/ Turns out, we only need 2 of them, not all 5.
7 lines
67 B
Plaintext
7 lines
67 B
Plaintext
{
|
|
"plugins": [
|
|
"syntax-jsx",
|
|
"transform-react-jsx"
|
|
]
|
|
}
|