⬅︎ Back to RequireJS versus HeadJS
Why not vanilla style? Fastest, not code affecting, full dependencies loading.I use simple files merging tool (merge for releases and listings for debug).It is similiar to sp[rockets but lighter, pure java, and supports all file types (like CSS).http://sourceforge.net/projects/minimergeInstead of wrapping your code with "require/amd" polluting software, just define dependencies in java style.The key is a nice build for you project.
Comment
Why not vanilla style? Fastest, not code affecting, full dependencies loading.
I use simple files merging tool (merge for releases and listings for debug).
It is similiar to sp[rockets but lighter, pure java, and supports all file types (like CSS).
http://sourceforge.net/projects/minimerge
Instead of wrapping your code with "require/amd" polluting software, just define dependencies in java style.
The key is a nice build for you project.