forked from opentiny/tiny-engine
fix(design-core): build error with monaco-editor (#57)
This commit is contained in:
parent
25ecc86d8e
commit
7f79659f5b
|
@ -213,8 +213,8 @@ const importMapStyles = [`https://unpkg.com/@opentiny/vue-theme@${importMapVersi
|
|||
export default defineConfig(({ command, mode }) => {
|
||||
const monacoPublicPath = {
|
||||
local: 'editor/monaco-workers',
|
||||
alpha: '', // 需要填写openTiny的cdn地址
|
||||
prod: '' // 需要填写openTiny的cdn地址
|
||||
alpha: 'https://tinyengine-assets.obs.cn-north-4.myhuaweicloud.com/files/monaco-assets',
|
||||
prod: 'https://tinyengine-assets.obs.cn-north-4.myhuaweicloud.com/files/monaco-assets'
|
||||
}
|
||||
|
||||
let monacoEditorPluginInstance = monacoEditorPlugin({ publicPath: monacoPublicPath.local })
|
||||
|
|
Loading…
Reference in New Issue