Hi,
I'm not sure if this is intended or not. I am looking at the "Usage examples" (and what yo generates) and I tried configuring different targets for the jst task as follows but with the commented parts uncommented:
jst: {
options: {
amd: true
},
build: {
// compile: {
files: {
'.tmp/scripts/templates.js': ['<%= yeoman.app %>/scripts/templates/*.ejs']
}
// }
},
dev: {
// compile: {
files: {
'app/scripts/templates.js': ['<%= yeoman.app %>/scripts/templates/*.ejs']
}
// }
}
},
With the 'compile' keys commented out it works. But the configuration for the default target uses 'compile'. Is this intentional? Perhaps my inexperience with Grunt is the problem.
Regards,
Justin
Hi,
I'm not sure if this is intended or not. I am looking at the "Usage examples" (and what yo generates) and I tried configuring different targets for the jst task as follows but with the commented parts uncommented:
With the 'compile' keys commented out it works. But the configuration for the default target uses 'compile'. Is this intentional? Perhaps my inexperience with Grunt is the problem.
Regards,
Justin