mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-15 02:38:16 +00:00
@babel/plugin-transform-react-jsx: ^7.10.4,
This commit is contained in:
commit
3760a5c555
9
packages/rax-simulator-renderer/.babelrc
Normal file
9
packages/rax-simulator-renderer/.babelrc
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"plugins": [
|
||||||
|
["@babel/plugin-transform-react-jsx", {
|
||||||
|
"pragma": "createElement", // default pragma is React.createElement
|
||||||
|
"pragmaFrag": "createFragment", // default is React.Fragment
|
||||||
|
"throwIfNamespace": false // defaults to true
|
||||||
|
}]
|
||||||
|
]
|
||||||
|
}
|
||||||
@ -30,6 +30,8 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@alib/build-scripts": "^0.1.18",
|
"@alib/build-scripts": "^0.1.18",
|
||||||
|
"@babel/plugin-transform-react-jsx": "^7.10.4",
|
||||||
|
"@recore/obx": "^1.0.8",
|
||||||
"@types/classnames": "^2.2.7",
|
"@types/classnames": "^2.2.7",
|
||||||
"@types/node": "^13.7.1",
|
"@types/node": "^13.7.1",
|
||||||
"@types/rax": "^1.0.0",
|
"@types/rax": "^1.0.0",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user