yeoman / generator-backbone

Scaffold out a Backbone.js project
http://yeoman.io
638 stars 157 forks source link

Add support for ES6 using Babel #341

Closed jamiebuilds closed 8 years ago

jamiebuilds commented 9 years ago

I can contibute a PR for this

arthurvr commented 9 years ago

:+1: on Babel (optionally).

I wonder what the view of the backbone community on coffeescript is these days but I kinda feel like we can get rid of it (similar to what we did in generator-webapp). What does the rest think?

marian-r commented 9 years ago

I think including Babel into this generator is more complex task than in generator-webapp (https://github.com/yeoman/generator-webapp/pull/543), as it involves making it work with RequireJS. I have it working for my own project, but I am not sure if the same configuration can cover all the edge cases here. And build with RequireJS is not working anyway (#299, #300).

+1 on removing CoffeeScript

ruyadorno commented 9 years ago

+1 to remove CoffeeScript altogether, this would be a HUGE maintenance win in the long term as it would reduce a lot the complexity of the codebase + get rid of 25% of all template files.