Task: Deliver the frontend minified
Description
The scripts and styles every package ships in its public/ folder are now minified (scripts with terser, which
also removes the whitespace and comments esbuild keeps in a library build; styles compressed by Sass). Source maps
are no longer part of the build: npm run build -- -- (`Build/`) writes them for local debugging, and they are git-ignored. A
pre- hook in Build/ refuses a push whose commits carry a build made with maps; activate it
once with git config core..
Impact
Pages load less script and style data. To debug the TypeScript or SCSS in a browser, build locally with
-- and rebuild without it before committing.