h5bp/ant-build-script — Issue #33: Improving support for AMD/RequireJS
Author: Aaunel
Created: 2012-03-07 16:00:44+00:00
State: open

I've been testing a few different __AMD__ frameworks lately, and it makes sense to move towards __require.js__ (and similar solutions). Since there's already a starting point with __require.js__ support in __Ant-Build-Script__, it's worth approaching a build that __cachebusts__ without breaking modular integration. Referencing my previous issue raised in regards to __head.js__ - [Issue #26](//github.com/h5bp/ant-build-script/issues/26).

__require.js__ has some handy features that will make this task significantly less complex, for example [multiversion](http://requirejs.org/docs/api.html#multiversion) functionality is built in. The logic would ideally expect some level of proficiency with and understanding of __require.js__, so does not need to be built in as a default (similar to the existing __require.js__ solution). The build script would, in theory, only need to update (a) the _main_ script file referenced in the `