Adjusting gulpfile to support building on windows
This commit is contained in:
parent
933c7b16f8
commit
9add3984d6
@ -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