build - fix sourcemaps for dev

feature/default_network_editable
kumavis 7 years ago
parent 46e8781e41
commit 848e0401e9
  1. 2
      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'))

Loading…
Cancel
Save