Adjusting gulpfile to support building on windows
This commit is contained in:
parent
5b334850c8
commit
1025fb0501
@ -72,7 +72,7 @@ gulp.task('markup', 'Build markup into ./build directory.', function() {
|
|||||||
helpers: config.globs.helpers,
|
helpers: config.globs.helpers,
|
||||||
partials: config.globs.partials,
|
partials: config.globs.partials,
|
||||||
parsePartialName: function(option, file) {
|
parsePartialName: function(option, file) {
|
||||||
return _.last(file.path.split('/')).replace('.hbs', '');
|
return _.last(file.path.split(/\\|\//)).replace('.hbs', '');
|
||||||
},
|
},
|
||||||
bustCache: true
|
bustCache: true
|
||||||
}))
|
}))
|
||||||
|
Loading…
Reference in New Issue
Block a user