kimroen / ember-cli-coffeescript

Adds precompilation of CoffeeScript files and all the basic generation types to the ember generate command.
MIT License
72 stars 49 forks source link

add before key to package.json to run ember-cli-coffeescript before ember-cli-babel #74

Closed foxnewsnetwork closed 9 years ago

foxnewsnetwork commented 9 years ago

Coffeescript supports es6, and babel supports es6 -> es5, so it makes sense to pipe coffee's output to babel so we can finally be one step closer to using generators in our coffee code ( we will be able to experience true harmony once https://github.com/babel/ember-cli-babel/issues/24 is taken care of by the Wonder Women of the JS Justice League, @stefanpenner ).

Meanwhile, the piping can be done with a simple change the package.json.

kimroen commented 9 years ago

Good call - thank you!