diff --git a/apps/web-antd/vite.config.mts b/apps/web-antd/vite.config.mts index ed01d813..7e884500 100644 --- a/apps/web-antd/vite.config.mts +++ b/apps/web-antd/vite.config.mts @@ -8,12 +8,6 @@ export default defineConfig(async () => { return { application: {}, vite: { - optimizeDeps: { - include: [ - 'ant-design-vue/es/locale/zh_CN', - 'ant-design-vue/es/locale/en_US', - ], - }, plugins: [ // Components({ // dirs: [], // 默认会导入src/components目录下所有组件 不需要 @@ -37,9 +31,6 @@ export default defineConfig(async () => { ws: true, }, }, - warmup: { - clientFiles: ['./index.html', './src/{views,components}/*'], - }, }, }, };