From 848e0401e9c457f0660c7518a150589368f80f3e Mon Sep 17 00:00:00 2001 From: kumavis Date: Fri, 23 Mar 2018 19:01:32 -0700 Subject: build - fix sourcemaps for dev --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')) -- cgit v1.2.3