diff options
author | kumavis <aaron@kumavis.me> | 2018-03-24 10:01:32 +0800 |
---|---|---|
committer | kumavis <aaron@kumavis.me> | 2018-03-24 10:01:32 +0800 |
commit | 848e0401e9c457f0660c7518a150589368f80f3e (patch) | |
tree | 4353e2ffc20f3d0a20452016144b257b707afb4d /gulpfile.js | |
parent | 46e8781e41b50593dce8114c1230110c1e5c2561 (diff) | |
download | tangerine-wallet-browser-848e0401e9c457f0660c7518a150589368f80f3e.tar.gz 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.js | 2 |
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')) |