Skip to content

Commit

Permalink
Remove fullPaths from production
Browse files Browse the repository at this point in the history
  • Loading branch information
jesnil01 committed Apr 6, 2016
1 parent b5493cc commit 885ac00
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 885ac00

Please sign in to comment.