Swiip / generator-gulp-angular

Yeoman generator for AngularJS with GulpJS [UNMAINTAINED next iteration is FountainJS]
http://fountainjs.io
3.72k stars 664 forks source link

Retrofit JavaScript 6 with babel? #1106

Open jasperblues opened 8 years ago

jasperblues commented 8 years ago

It was all totally new to me so I created default scaffolding and got started. Since then I've discovered ES6. Is it a trivial task to retrofit this into my non-ES6 project?

If so I'll do it now, otherwise work out how to do it later.

Swiip commented 8 years ago

There is a lot of different ways for using ES6 with Angular. We chose one for this generator but it's not really trivial. You could find blog posts about this. You could also generate an ES6 version of the generator and move your code into it.

It requires change in your code and also important changes in the build tools.

jasperblues commented 8 years ago

@Swiip OK, thanks very much. It is not yet a large project, so I'll opt for the latter approach.