Re:Reusing require.js modules in Node.js with AMDrequire
by jgillich on Wednesday May 21, 2014 @11:10AM
(#7778629)
Exactly. RequireJS promotes having lots of files, but for production, everyone runs their code through r.js anyway.
I used RequireJS for a while and it isn't bad, but Browserify has a lot of advantages like compatibility with Node.js and npm (while the only disadvantage I see is that the compile step is non-optional).
I used RequireJS for a while and it isn't bad, but Browserify has a lot of advantages like compatibility with Node.js and npm (while the only disadvantage I see is that the compile step is non-optional).