Tcode平台改造升级-项目名称openRepoPortalV2改为tcode

This commit is contained in:
fmk1023
2025-12-05 17:12:52 +08:00
parent 1e2d8f775d
commit af7578ec2a
14 changed files with 19 additions and 19 deletions

View File

@@ -62,7 +62,7 @@ export default (config: any) => {
},
build: {
outDir: 'openRepoPortalV2', // 将打包后的文件夹名改为 openRepoPortal
outDir: 'tcode', // 将打包后的文件夹名改为 openRepoPortal
// sourcemap: config.mode !== 'production',
minify: 'terser', // 确保使用 terser 进行压缩
terserOptions: {
@@ -83,7 +83,7 @@ export default (config: any) => {
) {
if (type === 'asset') {
// return env.VITE_STATIC_HOST + '/' + filename;
return `/openRepoPortalV2/${filename}`;
return `/tcode/${filename}`;
}
}
}