help wantedissue: infrastructure
描述
Right now, we use a slightly brokeass minification system. Here's what happened:
- Originally, we had minification built into our Rollup pipeline. This is the best way to do the minification because it gets the map files right and because it can (at least in theory) be a bit smarter about the minification.
- But it broke and caused all sorts of horribleness, as you can see in #357. I don't know what happened, but probably some part of the toolchain got upgraded and doesn't fit together right anymore
- I switched the build to just run uglify on the output of the relevant transpile steps
- You can switch between the old, better, broken method and the new, hacky, broken method by switching the
TRUST_MINIFYconst in build.js - Presumably the fix is either finding the right version of the toolchain deps or fiddling with some config.