Adjusting gulpfile to support building on windows

This commit is contained in:
Jeff Avallone 2016-04-21 17:06:26 -04:00
parent 5b334850c8
commit 1025fb0501

View File

@ -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
})) }))