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(