1762 shaares
17 private links
17 private links
unassertify- Removeassert()callsenvify- Replace environment variables—by default, replacesNODE_ENVwith"production"uglifyify- Remove dead code from modulescommon-shakeify- Remove unused exports from modulesbrowser-pack-flat- Output a "flat" bundle, with all modules in a single scopebundle-collapser- When using the--no-flatoption, bundle-collapser replaces file paths inrequire()calls with short module IDsminify-stream- Uglify the final bundle
[browser-pack-flat][] and [bundle-collapser][] are both not used if the --full-paths option is passed to Browserify.
This way you can still get all of tinyify's other optimizations when building for [disc][].