|
|
|
|
@ -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}/*'],
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
|