I see this as a little more complicated than the CSS deal as the setup is quite a bit more complicated and there is more than one area of technology to consider.
How things are packaged
Currently we support ordinary Javascript concatenated into one file, with libraries exposed as globals. We also support CommonJS through Browserify. Should RequireJS support be implemented? Should plain Javascript be dropped? This is a little different as it's not like learning a new language but CommonJS/RequireJS could be quite confusing for someone who hasn't experienced it before. I'm leaning towards probable not supporting RequireJS because its implementations are usually quite opinionated.
Each of these implementations add significant bulk to the generator codebase. Dropping them to just one would simplify things a lot.
Extra languages
CoffeeScript? TypeScript? ES6? ES6 would be easy to support because we just add Babel to Browserify/the Gulp stream. Other languages probably require more bulk on top of the current JS templates.
Given all of this, the way this is templates needs to be simplified, and the technologies I'm not familiar with (like RequireJS and CoffeeScript) probably need the love of someone else.
Like #14 but for JS.
I see this as a little more complicated than the CSS deal as the setup is quite a bit more complicated and there is more than one area of technology to consider.
How things are packaged
Currently we support ordinary Javascript concatenated into one file, with libraries exposed as globals. We also support CommonJS through Browserify. Should RequireJS support be implemented? Should plain Javascript be dropped? This is a little different as it's not like learning a new language but CommonJS/RequireJS could be quite confusing for someone who hasn't experienced it before. I'm leaning towards probable not supporting RequireJS because its implementations are usually quite opinionated.
Each of these implementations add significant bulk to the generator codebase. Dropping them to just one would simplify things a lot.
Extra languages
CoffeeScript? TypeScript? ES6? ES6 would be easy to support because we just add Babel to Browserify/the Gulp stream. Other languages probably require more bulk on top of the current JS templates.
Given all of this, the way this is templates needs to be simplified, and the technologies I'm not familiar with (like RequireJS and CoffeeScript) probably need the love of someone else.