From 1025fb0501cee04f07163e0f671f1198e0a8a8bd Mon Sep 17 00:00:00 2001 From: Jeff Avallone Date: Thu, 21 Apr 2016 17:06:26 -0400 Subject: [PATCH] Adjusting gulpfile to support building on windows --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 024ad0b..affbc88 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -72,7 +72,7 @@ gulp.task('markup', 'Build markup into ./build directory.', function() { helpers: config.globs.helpers, partials: config.globs.partials, parsePartialName: function(option, file) { - return _.last(file.path.split('/')).replace('.hbs', ''); + return _.last(file.path.split(/\\|\//)).replace('.hbs', ''); }, bustCache: true }))