Re:Browser-require.js brings "require" to the browser (just ...
by marcuswestin on Monday January 31, 2011 @10:51AM
(#2161831)
That's one of the big differences - I'd say the other big difference is that it comes with a compiler that bundles all your required modules into a single javascript file for production
[ Parent
| on HN ]
Re:Browser-require.js brings "require" to the browser (just ...
by arthurschreiber on Monday January 31, 2011 @10:59AM
(#2161882)
RequireJS also has it's own compiler.
Re:Browser-require.js brings "require" to the browser (just ...
by marcuswestin on Monday January 31, 2011 @11:06AM
(#2161928)
Did not know that! :P
I guess browser-require will still be useful, since you can import the same files in node and in the browser