1763 shaares
17 private links
17 private links
3 results
tagged
browserify
A local development server that aims to make writing modular client-side apps with NPM + browserify fast and fun.
Update any source file and your browserify bundle will be recompiled on the spot.
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][].