v2.0.0
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.