mirror of https://github.com/halo-dev/halo
chore: make editor lib external for plugin (#5167)
#### What type of PR is this? /area console /kind improvement /milestone 2.12.x #### What this PR does / why we need it: 将默认编辑器依赖添加到插件构建库的 external 中,基于 https://github.com/halo-dev/halo/pull/4924 #### Does this PR introduce a user-facing change? ```release-note None ```pull/5176/head
parent
0b30c0d98e
commit
05754534e3
|
@ -42,6 +42,7 @@ export function HaloUIPluginBundlerKit(): Plugin {
|
||||||
"@vueuse/router",
|
"@vueuse/router",
|
||||||
"@halo-dev/shared",
|
"@halo-dev/shared",
|
||||||
"@halo-dev/components",
|
"@halo-dev/components",
|
||||||
|
"@halo-dev/richtext-editor",
|
||||||
],
|
],
|
||||||
output: {
|
output: {
|
||||||
globals: {
|
globals: {
|
||||||
|
@ -52,6 +53,7 @@ export function HaloUIPluginBundlerKit(): Plugin {
|
||||||
"@vueuse/router": "VueUse",
|
"@vueuse/router": "VueUse",
|
||||||
"@halo-dev/console-shared": "HaloConsoleShared",
|
"@halo-dev/console-shared": "HaloConsoleShared",
|
||||||
"@halo-dev/components": "HaloComponents",
|
"@halo-dev/components": "HaloComponents",
|
||||||
|
"@halo-dev/richtext-editor": "RichTextEditor",
|
||||||
},
|
},
|
||||||
extend: true,
|
extend: true,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue