News for hackers. Stuff that matters.
Re:Towards a More Modular Future for JavaScript Libraries by Bockit on Monday November 11, 2013 @04:38PM (#6714240)
What do you think of browserify coupled with transforms providing html templates[1] and css inclusion[2].

[1]: E.g., https://npmjs.org/package/browserify-jade

[2]: E.g., https://npmjs.org/package/stylify

Re:Towards a More Modular Future for JavaScript Libraries by wyuenho on Tuesday November 12, 2013 @08:32AM (#6717661)
package.json doesn't have any place to define the styles and templates your component exports, so browserify can't meaningfully resolve dependencies and build your assets for you. For really good support, you'll need to be able to rewrite the URLs inside CSS too due to different directory structures within each component. Component does that for you.
Re:Towards a More Modular Future for JavaScript Libraries by Bockit on Tuesday November 12, 2013 @11:18PM (#6723318)
That's a pretty fair point about the CSS url rewriting, it's possibly the kind of thing you can fix with a browserify transform, but iffy and as you say component is doing it already.