allow mangle for non-watch

This commit is contained in:
MathMan05 committed 2025-07-31 17:40:28 -05:00
1 parent 50312cbd99
commit be8d1dbe8c
1 file changed
+5
+5
View File
@@ -22,6 +22,11 @@ async function moveFiles(curPath: string, newPath: string) {
minify: true,
sourceMaps: true,
isModule: true,
jsc: {
minify: {
mangle: !process.argv.includes("watch"),
},
},
});
await Promise.all([
fs.writeFile(