klei / gulp-angular-filesort

Automatically sort AngularJS app files depending on module definitions and usage
MIT License
132 stars 46 forks source link

CoffeeScript #11

Closed dustinspecker closed 8 years ago

dustinspecker commented 10 years ago

I'm not experienced with writing Gulp plugins, so I apologize in advance for any major errors.

This pull request also contains the changes from #10. If #10 is to be rejected, I can remove those changes from this pull request.

These changes will compile CoffeeScript before sending the file contents to ng-dependencies if the file extension ends with .coffee.

The reasoning for creating this is for injecting files in the correct order into Karma.config.js, etc. This is preferred over compiling CoffeeScript files into temp files for testing.

RomanMinkin commented 10 years ago

+1