From ee6f607f933e2f6348995a39bed55e6dea35b73c Mon Sep 17 00:00:00 2001 From: Christian Alfoni Date: Mon, 1 Dec 2014 13:10:09 +0100 Subject: [PATCH] Update gulpfile.js Only fullpaths when developing, not when deploying --- gulpfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 8036073..bf9b608 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -30,7 +30,7 @@ var browserifyTask = function (options) { entries: [options.src], // Only need initial file, browserify finds the rest transform: [reactify], // We want to convert JSX to normal javascript debug: options.development, // Gives us sourcemapping - cache: {}, packageCache: {}, fullPaths: true // Requirement of watchify + cache: {}, packageCache: {}, fullPaths: options.development // Requirement of watchify }); // We set our dependencies as externals on our app bundler when developing @@ -181,4 +181,4 @@ gulp.task('deploy', function () { gulp.task('test', function () { return gulp.src('./build/testrunner-phantomjs.html').pipe(jasminePhantomJs()); -}); \ No newline at end of file +});