Open shaltie opened 8 years ago
+1. I am also looking the same as I need to create module wise templates.
Use files object to map source & destination files as below..
files: { 'tpls1.js': 'module1/.html', 'tpls2.js': 'module2/.html', }
Hope it will help...
@shaltie Have you tried @gsaini's solution? If that solves your problem I'd like to close out this issue.
I have different folders for each language templates. I need to make cached template as well for each language. e.g., src: ['views/LANG/app.html', '/views/LANG/nav.html' ], dest: 'views/cached/LANG/tpl.js'
should be
'views/cached/en/tpl.js' 'views/cached/fr/tpl.js' 'views/cached/de/tpl.js'
Is this possible?