aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gulpfile.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/gulpfile.js b/gulpfile.js
index bf198efb0..f57ea6206 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -411,7 +411,7 @@ function bundleTask(opts) {
mangle: { reserved: [ 'MetamaskInpageProvider' ] },
})))
// writes .map file
- .pipe(sourcemaps.write('../../sourcemaps'))
+ .pipe(sourcemaps.write(debug ? './' : '../../sourcemaps'))
// write completed bundles
.pipe(gulp.dest('./dist/firefox/scripts'))
.pipe(gulp.dest('./dist/chrome/scripts'))