新增:打包编译功能

This commit is contained in:
李强
2024-06-18 12:46:57 +08:00
parent 1f81ac5854
commit 38bb65f9d5
137 changed files with 2481 additions and 6332 deletions

View File

@@ -40,7 +40,7 @@ const viteConfig = defineConfig((mode: ConfigEnv) => {
},
},
build: {
outDir: 'dist',
outDir: env.VITE_DIST_PATH || 'dist',
chunkSizeWarningLimit: 1500,
rollupOptions: {
output: {