打包配置修改
This commit is contained in:
@@ -61,6 +61,7 @@ export default (config: any) => {
|
||||
},
|
||||
|
||||
build: {
|
||||
outDir: 'openRepoPortal', // 将打包后的文件夹名改为 openRepoPortal
|
||||
// sourcemap: config.mode !== 'production',
|
||||
minify: 'terser', // 确保使用 terser 进行压缩
|
||||
terserOptions: {
|
||||
|
||||
Reference in New Issue
Block a user