mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-15 18:58:11 +00:00
feat: react-renderer打包umd
This commit is contained in:
parent
54c8c51258
commit
62d04429f7
@ -1,6 +1,17 @@
|
|||||||
{
|
{
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"build-plugin-component",
|
["build-plugin-component", {
|
||||||
|
"filename": "react-renderer",
|
||||||
|
"library": "___AliLowCodeReactRenderer___",
|
||||||
|
"libraryTarget": "umd",
|
||||||
|
"libraryExport": "default",
|
||||||
|
"externals": {
|
||||||
|
"react": "var window.React",
|
||||||
|
"react-dom": "var window.ReactDOM",
|
||||||
|
"prop-types": "var window.PropTypes",
|
||||||
|
"moment": "var window.moment"
|
||||||
|
}
|
||||||
|
}],
|
||||||
"build-plugin-fusion",
|
"build-plugin-fusion",
|
||||||
["build-plugin-moment-locales", {
|
["build-plugin-moment-locales", {
|
||||||
"locales": ["zh-cn"]
|
"locales": ["zh-cn"]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user