From 9add3984d67da47cda6de31bb7e8985493ff290b 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 }))