Skip to content

Commit

Permalink
Merge pull request #35 from jesnil01/patch-2
Browse files Browse the repository at this point in the history
Remove fullPaths from production
  • Loading branch information
jakemmarsh committed May 12, 2016
2 parents b5493cc + 885ac00 commit 79de4e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gulp/tasks/browserify.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function buildScript(file, watch) {
debug: !global.isProd,
cache: {},
packageCache: {},
fullPaths: true
fullPaths: global.isProd ? false : true
});

if ( watch ) {
Expand Down Expand Up @@ -60,4 +60,4 @@ gulp.task('browserify', function() {
// Only run watchify if NOT production
return buildScript('index.js', !global.isProd);

});
});

0 comments on commit 79de4e2

Please sign in to comment.