From be8d1dbe8cdd354b88598152b68ce5d85c5331db Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Thu, 31 Jul 2025 17:40:28 -0500 Subject: [PATCH] allow mangle for non-watch --- build.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.ts b/build.ts index 4ab44b9..55e3fc5 100644 --- a/build.ts +++ b/build.ts @@ -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(