修改云构建externals

This commit is contained in:
荣彬 2020-07-22 23:29:29 +08:00
parent 52c3b9d83d
commit 26c307ec7b
3 changed files with 10 additions and 4 deletions

View File

@ -13,9 +13,8 @@
"@ali/lowcode-editor-core": "window.LowcodeEditor",
"@ali/lowcode-editor-skeleton": "window.LowcodeEditor",
"@ali/lowcode-designer": "window.LowcodeEditor",
"rax": "window.Rax"
"rax": "var window.Rax"
},
"minify": false,
"sourcemap": true,
"outputAssetsPath": {
"js": "", "css": ""

View File

@ -9,7 +9,8 @@
"externals": {
"react": "var window.React",
"react-dom": "var window.ReactDOM",
"prop-types": "var window.PropTypes"
"prop-types": "var window.PropTypes",
"rax": "var window.Rax"
}
}
],

View File

@ -6,7 +6,13 @@
"filename": "rax-simulator-renderer",
"library": "SimulatorRenderer",
"libraryExport": "default",
"libraryTarget": "umd"
"libraryTarget": "umd",
"externals": {
"react": "var window.React",
"react-dom": "var window.ReactDOM",
"prop-types": "var window.PropTypes",
"rax": "var window.Rax"
}
}
],
"./build.plugin.js"