update jst grunt to crawl inside the nested templates folders
authorrougeronj
Sat, 18 Apr 2015 17:52:37 +0200
changeset 421 6cf2ef158f9b
parent 420 22393cbf4467
child 422 6447f10b7d2c
update jst grunt to crawl inside the nested templates folders
client/gruntfile.js
--- a/client/gruntfile.js	Sat Apr 18 17:14:27 2015 +0200
+++ b/client/gruntfile.js	Sat Apr 18 17:52:37 2015 +0200
@@ -45,14 +45,11 @@
     jst: {
 		compile: {
 			options: {
-				templateSettings: {
-					//interpolate : /\{\{(.+?)\}\}/g
-				},
 				namespace: 'renkanJST',
 				//amd: true
 			},
 			files: {
-				"dist/js/templates.js": ["templates/*.html"]
+				"dist/js/templates.js": ["templates/**/*.html"]
 			}
 		}
     },