File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,13 +87,17 @@ module.exports = function(grunt) {
8787 partialRegex : / ^ p a r t _ / ,
8888 partialsPathRegex : / \/ p a r t i a l s \/ /
8989 } ,
90- files : {
91- "frontend/src/templates/templates.js" : [
92- "frontend/src/core/**/*.hbs" ,
93- "frontend/src/modules/**/*.hbs" ,
94- "frontend/src/plugins/**/*.hbs"
95- ]
96- }
90+ files : [
91+ {
92+ follow : true ,
93+ src : [
94+ 'frontend/src/core/**/*.hbs' ,
95+ 'frontend/src/modules/**/*.hbs' ,
96+ 'frontend/src/plugins/**/*.hbs'
97+ ] ,
98+ dest : 'frontend/src/templates/templates.js'
99+ }
100+ ]
97101 }
98102 } ,
99103 requirejs : {
@@ -217,7 +221,10 @@ module.exports = function(grunt) {
217221 var ret = '' ;
218222
219223 for ( var i = 0 , l = src . length ; i < l ; i ++ ) {
220- grunt . file . expand ( { filter : options . filter } , src [ i ] ) . forEach ( function ( lessPath ) {
224+ grunt . file . expand ( {
225+ filter : options . filter ,
226+ follow : true
227+ } , src [ i ] ) . forEach ( function ( lessPath ) {
221228 ret += '@import \'' + path . normalize ( lessPath ) + '\';\n' ;
222229 } ) ;
223230 }
You can’t perform that action at this time.
0 commit comments