a browserify plugin that runs various optimizations, so you don't have to install them all manually.
npm install --save-dev tinyifybrowserify -p tinyify app.js
- unassertify - Remove
- envify - Replace environment variables—by default, replaces
- uglifyify - Remove dead code from modules
- common-shakeify - Remove unused exports from modules
- browser-pack-flat - Output a "flat" bundle, with all modules in a single scope
- minify-stream - Uglify the final bundle