I take back my critique of v2, after examining it in details I'm agreed that API became better.
Also, my concern was false, actually it's quite easy to add support for coffee-script and client side templates. On Saturday, February 23, 2013 4:43:34 AM UTC+4, substack wrote: > > browserify v2 was just released! browserify lets you write node-style > require() calls for browser code so that you can package up your scripts > and npm modules into a single bundle to serve to browsers. browserify > implements exactly the node_modules lookup algorithm so you can use many > libraries written for node and published to npm in the browser without any > modifications. > > Here's the full writeup of the new changes: > http://browserify.org/announcing_browserify_v2 > * static module resolution for tinier bundles. Just ~250 bytes of prelude > now. > * support for multi-file bundles for multi-page apps and better caching of > infrequently-updating assets > * streaming bundle pipeline > * new "browsers" field support by https://github.com/shtylman > * less features > > The core library itself is just 180 sloc now with the bulk of the > functionality now handled by completely separate, reusable libraries that > you can use to build your own browserify if you want. Most of what > browserify provides can now be provided by this shell pipeline: > > $ module-deps main.js | insert-module-globals main.js | browser-pack > > bundle.js > > Just `npm install -g module-deps insert-module-globals browser-pack` to > play around with those streaming components. > > tldr; less features, more unix! > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
