0792ff4dc022a6143865412ede6977751c344d25
gateway output 1.4G -> 424M (-70%), backend 198M -> 60M (-70%). - pruneProd: delete every .pnpm dir not in 'pnpm list --prod' graph (biome/typescript/esbuild/drizzle-kit/vitest/tsx ~150MB+) then drop dangling symlinks (top-level, scoped dirs, hoist, .bin) so stdenv noBrokenSymlinks fixup passes. - NOT using 'pnpm install --prod': it collapses the public-hoist dir (.pnpm/node_modules) that peer resolution relies on for @lng2004/node-datachannel + @seydx/node-av-linux-x64 (voice breaks). - node-datachannel: strip build/_deps (cmake FetchContent ~380MB) + nested node_modules (nw-gyp/typescript/puppeteer ~380MB) after compile; runtime needs only build/Release/node_datachannel.node. - verified: native binaries (datachannel/opus/zeromq) intact, all 27 runtime modules resolve, dev tools 0.
Description
Bete Discord moderation watcher
26 MiB
Languages
TypeScript
95.6%
C++
1.2%
Nix
1%
Shell
0.7%
CSS
0.6%
Other
0.8%