adding grunt-angular-templates to the build tasks by vkammerer · Pull Request #277 · yeoman/generator-angular (original) (raw)

Hi, I can't make it to work. As you can see in this issue:
https://github.com/amayvs/TestApp/issues/1#issuecomment-29171045

I want to achieve this:


In development I don't care about templates.js I'm ok loading each template independently. As I'm not using grunt watch in my workflow it's easier for me.

In production I want a minified views in JS concatenated in scripts.js with all images revisionated. Just with grunt build taking care of present state.


In https://github.com/amayvs/TestApp assumes that templates.js have to exist, as he adds a watch task for it.
The main problem is with assets (images) that don't get renamed with revisioned ones.

I think this should be managed with usemin process, but I was unable to make it work, neither with your branch. Are you using new template system? Are this '<%%= yeoman.app %>' a bug? (instead of '<%= yeoman.app %>').

@eddiemonge if you have a test app with this process, please let me know. And if you prefer to treat this issue in your repo, no problem, just let me know.

Thanks!