aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-03-24 09:38:27 +0800
committerkumavis <aaron@kumavis.me>2018-03-24 09:38:27 +0800
commit6219a7da4b42edc2b5d8b8248921ff573ae00b2d (patch)
tree881b06060380ab60352ccf560889606d25401489
parent2eaac897bf965054c2db0a431391d4c92caaae2d (diff)
downloadtangerine-wallet-browser-6219a7da4b42edc2b5d8b8248921ff573ae00b2d.tar
tangerine-wallet-browser-6219a7da4b42edc2b5d8b8248921ff573ae00b2d.tar.gz
tangerine-wallet-browser-6219a7da4b42edc2b5d8b8248921ff573ae00b2d.tar.bz2
tangerine-wallet-browser-6219a7da4b42edc2b5d8b8248921ff573ae00b2d.tar.lz
tangerine-wallet-browser-6219a7da4b42edc2b5d8b8248921ff573ae00b2d.tar.xz
tangerine-wallet-browser-6219a7da4b42edc2b5d8b8248921ff573ae00b2d.tar.zst
tangerine-wallet-browser-6219a7da4b42edc2b5d8b8248921ff573ae00b2d.zip
build - always generate sourcemaps
-rw-r--r--gulpfile.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 9a694addf..bf198efb0 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -339,7 +339,7 @@ function generateBundler(opts, performBundle) {
const browserifyOpts = assign({}, watchify.args, {
entries: ['./app/scripts/'+opts.filename],
plugin: 'browserify-derequire',
- debug: debug,
+ debug: true,
fullPaths: debug,
})
@@ -411,7 +411,7 @@ function bundleTask(opts) {
mangle: { reserved: [ 'MetamaskInpageProvider' ] },
})))
// writes .map file
- .pipe(sourcemaps.write(debug ? './' : '../../sourcemaps'))
+ .pipe(sourcemaps.write('../../sourcemaps'))
// write completed bundles
.pipe(gulp.dest('./dist/firefox/scripts'))
.pipe(gulp.dest('./dist/chrome/scripts'))