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.
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.