Update gulpfile.js
Only fullpaths when developing, not when deploying
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user