[babel 8] Use the JSX automatic runtime by default (#12630)
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com> Co-authored-by: Arun Kumar Mohan <arunmohandm@gmail.com>
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
{
|
||||
"plugins": ["transform-react-jsx", "transform-react-constant-elements"]
|
||||
"plugins": [
|
||||
["transform-react-jsx", { "runtime": "classic" }],
|
||||
"transform-react-constant-elements"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
{
|
||||
"plugins": ["transform-react-jsx", "transform-react-constant-elements"]
|
||||
"plugins": [
|
||||
["transform-react-jsx", { "runtime": "classic" }],
|
||||
"transform-react-constant-elements"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user