A YouTube watcher of my channel regarding my Basics of Require JS Part 1 writes:
… main.js is a concatenated and minified version of all the js. Just wondering why do you still need requirejs if you concatenate and minify your js in a single file [via r.js].
Is there an advantage of using requirejs in this instance? Or can you just straight target main.js?
I’ve seen 2 clients now who put all of their JavaScript into a single, large file vs. using classes, modules, and packages; traditional computer science concepts that Require does its best to enable in JavaScript.
Continue reading “Why Multiple Files Using RequireJS vs. 1 Big One”