uglify-espending release of https://github.com/fabiosantoscode/terser/commit/9255757bcabbd35a8f69a4966e6a4f59b1927d36
--debugflag handling with tinyify's. Chances of anything being broken before this patch are very small though.
--no-flatis passed, to still save some bytes even if browser-pack-flat is not used.
--full-pathsoption is passed to Browserify
envoption for custom environment variables. (@yoshuawuyts in #2)
Update browser-pack-flat to v3.0.0. This fixes tinyify-ing entry points that assign exports, like what's common in choo apps:
// app.js if (window) app.mount() else module.exports = app
The breaking change is that browser-pack-flat bundles will no longer assign
module.exports when not using
--standalone. This should not be a problem in 99.999% of cases, and is the same as what browser-pack does.