mirror of
https://gitee.com/log4j/pig-ui.git
synced 2024-12-31 09:12:10 +08:00
feat: vite压缩不删除原有文件
This commit is contained in:
parent
fc39d84942
commit
07e88911c9
@ -37,7 +37,7 @@ const viteConfig = defineConfig((mode: ConfigEnv) => {
|
|||||||
promiseImportName: (i) => `__tla_${i}`, // TLA Promise 导入名
|
promiseImportName: (i) => `__tla_${i}`, // TLA Promise 导入名
|
||||||
}),
|
}),
|
||||||
viteCompression({
|
viteCompression({
|
||||||
deleteOriginFile: true, // 压缩后删除原来的文件
|
deleteOriginFile: false, // 压缩后删除原来的文件
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
root: process.cwd(), // 项目根目录
|
root: process.cwd(), // 项目根目录
|
||||||
|
Loading…
Reference in New Issue
Block a user