diff --git a/packages/design-core/vite.config.js b/packages/design-core/vite.config.js index ed968b1cc..3d6c3a7d9 100644 --- a/packages/design-core/vite.config.js +++ b/packages/design-core/vite.config.js @@ -61,7 +61,7 @@ export default defineConfig({ } } }, - external: ['vue', 'vue-i18n'] + external: ['vue', 'monaco-editor', 'prettier', /@opentiny\/vue.*/, '@opentiny/tiny-engine-meta-register'] } } }) diff --git a/packages/renderer/vite.config.js b/packages/renderer/vite.config.js index 32a67c825..6f106b766 100644 --- a/packages/renderer/vite.config.js +++ b/packages/renderer/vite.config.js @@ -32,7 +32,7 @@ export default defineConfig({ output: { banner: 'import "./index.css"' }, - external: ['vue', '@vueuse/core', 'vue-i18n', /@opentiny\/tiny-engine.*/, /@opentiny\/vue.*/] + external: ['vue', 'vue-i18n', /@opentiny\/vue.*/] }, minify: true }