firstandthird / load-grunt-config

Grunt plugin that lets you break up your Gruntfile config by task
firstandthird.github.io/load-grunt-config/
MIT License
374 stars 64 forks source link

Using angular-templates #41

Closed handijk closed 10 years ago

handijk commented 10 years ago

I'm trying to use load-grunt-config with grunt-angular-templates. The error is "Warning: An error occurred while processing a template (Cannot read property 'dist' of undefined). Use --force to continue." and it references to '<%= ngtemplates.dist.dest %>' in my concat task.

So it seems there is no global var ngtemplates, i have added a global var like this before.

config: { yeoman: yeomanConfig }

But i am a little confused on how to add another task to the global config.

handijk commented 10 years ago

I am sorry this was just a typo, it seems the ngTemplates file i had should have been called ngtemplates. Works perfect now.