http://requirejs.org/docs/node.html
I appreciate browserify having the exact same syntax, but RequireJS can do serverside.
I appreciate browserify having the exact same syntax, but RequireJS can do serverside.
Why would you even look at require.js if you don't have modular code/code of your own spread over a couple of files? This is for me the one single reason to look into it in the first place. To organize my own code better.
It's great thing that you use RequireJS to organize your code, and you should keep doing it. We use RequireJS at work and it works pretty well. However my personal preference is browserify, but use whatever works for you.