Disable sourcemaps for arrpc

This shaves off 20MB
This commit is contained in:
Vendicated
2026-09-08 00:25:38 +02:00
parent 72b4c38ad7
commit 329faa322d
+2 -1
View File
@@ -86,7 +86,8 @@ await Promise.all([
...NodeCommonOpts, ...NodeCommonOpts,
entryPoints: ["src/main/arrpc/worker.ts"], entryPoints: ["src/main/arrpc/worker.ts"],
outfile: "dist/js/arRpcWorker.js", outfile: "dist/js/arRpcWorker.js",
footer: { js: "//# sourceURL=VesktopArRpcWorker" } footer: { js: "//# sourceURL=VesktopArRpcWorker" },
sourcemap: false
}), }),
createContext({ createContext({
...NodeCommonOpts, ...NodeCommonOpts,