This commit is contained in:
小鱼开发
2025-07-29 22:10:47 +08:00
parent 253acb5629
commit dd692d0a47
+2
View File
@@ -48,6 +48,7 @@ function copyDirectorySync(source, target) {
}
}
}
// try {
// const sourceDir = './dist';
// const targetDir = 'E:\\pinan_dist';
@@ -58,6 +59,7 @@ function copyDirectorySync(source, target) {
// console.error('复制过程中出错:', err);
// }
// process.exit(0);
try {
// 检查dist目录是否存在
if (!fs.existsSync(config.distPath)) {