aboutsummaryrefslogtreecommitdiffstats
path: root/gulpfile.js
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-03-24 10:01:32 +0800
committerkumavis <aaron@kumavis.me>2018-03-24 10:01:32 +0800
commit848e0401e9c457f0660c7518a150589368f80f3e (patch)
tree4353e2ffc20f3d0a20452016144b257b707afb4d /gulpfile.js
parent46e8781e41b50593dce8114c1230110c1e5c2561 (diff)
downloadtangerine-wallet-browser-848e0401e9c457f0660c7518a150589368f80f3e.tar
tangerine-wallet-browser-848e0401e9c457f0660c7518a150589368f80f3e.tar.gz
tangerine-wallet-browser-848e0401e9c457f0660c7518a150589368f80f3e.tar.bz2
tangerine-wallet-browser-848e0401e9c457f0660c7518a150589368f80f3e.tar.lz
tangerine-wallet-browser-848e0401e9c457f0660c7518a150589368f80f3e.tar.xz
tangerine-wallet-browser-848e0401e9c457f0660c7518a150589368f80f3e.tar.zst
tangerine-wallet-browser-848e0401e9c457f0660c7518a150589368f80f3e.zip
build - fix sourcemaps for dev
Diffstat (limited to 'gulpfile.js')
-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'))