mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-12 08:58:15 +00:00
新增打包插件plugin-transform-react-jsx
This commit is contained in:
parent
499548d77d
commit
60db7fb518
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
|
||||
}]
|
||||
]
|
||||
}
|
||||
@ -31,6 +31,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@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/node": "^13.7.1",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user