Changes Gzip and Brotli to optimize for speed instead of size. This
signficantly speeds up Brotli, and is useful when iterating locally
or running the build during a CI job (where we just care that it
can successfully build).
Signed-off-by: Mihai Parparita <mihai@tailscale.com>
pull/5278/head
Mihai Parparita2 years agocommitted byMihai Parparita
addr=flag.String("addr",":9090","address to listen on")
addr=flag.String("addr",":9090","address to listen on")
distDir=flag.String("distdir","./dist","path of directory to place build output in")
distDir=flag.String("distdir","./dist","path of directory to place build output in")
yarnPath=flag.String("yarnpath","../../tool/yarn","path yarn executable used to install JavaScript dependencies")
yarnPath=flag.String("yarnpath","../../tool/yarn","path yarn executable used to install JavaScript dependencies")
fastCompression=flag.Bool("fast-compression",false,"Use faster compression when building, to speed up build time. Meant to iterative/debugging use only.")