You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 Minified version on site is broken #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_MINIFY const in build.js
Presumably the fix is either finding the right version of the toolchain deps or fiddling with some config.
The text was updated successfully, but these errors were encountered:
Ok. I get our point. But I find it debatable to have a rather complex build toolchain just to provide some debugging tools for an environment that is not a dev environnement. Just my two cents.
Right now, we use a slightly brokeass minification system. Here's what happened:
TRUST_MINIFY
const in build.jsThe text was updated successfully, but these errors were encountered: