diff --git a/gulp/tasks/browserify.js b/gulp/tasks/browserify.js index 71b4817..45f31de 100644 --- a/gulp/tasks/browserify.js +++ b/gulp/tasks/browserify.js @@ -24,7 +24,7 @@ function buildScript(file, watch) { debug: !global.isProd, cache: {}, packageCache: {}, - fullPaths: true + fullPaths: global.isProd ? false : true }); if ( watch ) { @@ -60,4 +60,4 @@ gulp.task('browserify', function() { // Only run watchify if NOT production return buildScript('index.js', !global.isProd); -}); \ No newline at end of file +});