Skip to content

Commit fde8652

Browse files
committed
Merge pull request #401 from eddiemonge/patch-1
fix(docs): Add coffeescript=false to readme
2 parents bb2fe60 + abd7dc3 commit fde8652

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: readme.md

+3
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,9 @@ angular.module('myMod')
188188

189189
A project can mix CoffeScript and JavaScript files.
190190

191+
To output JavaScript files, even if CoffeeScript files exist (the default is to output CoffeeScript files if
192+
the generator finds any in the project), use `--coffee=false`.
193+
191194
### Minification Safe
192195
By default, generators produce unannotated code. Without annotations, AngularJS's DI system will break when minified. Typically, these annotations that make minification safe are added automatically at build-time, after application files are concatenated, but before they are minified. By providing the `--minsafe` option, the code generated will out-of-the-box be ready for minification. The trade-off is between amount of boilerplate, and build process complexity.
193196

0 commit comments

Comments
 (0)