diff options
author | Thomas <tmashuang@gmail.com> | 2018-03-22 03:28:03 +0800 |
---|---|---|
committer | Thomas <tmashuang@gmail.com> | 2018-03-22 03:28:03 +0800 |
commit | 775275e1387c140fabb3ddbef5544af0dcbc4df0 (patch) | |
tree | 85a4973cf35b026b66d133a54cd42fe024d27944 /gulpfile.js | |
parent | d646f377416ea6bfcd7682d21e011be5fa65cd3f (diff) | |
parent | 5f4e96752a97db2fd828caf89edec17f79b67be0 (diff) | |
download | tangerine-wallet-browser-775275e1387c140fabb3ddbef5544af0dcbc4df0.tar.gz tangerine-wallet-browser-775275e1387c140fabb3ddbef5544af0dcbc4df0.tar.zst tangerine-wallet-browser-775275e1387c140fabb3ddbef5544af0dcbc4df0.zip |
Merge branch 'master' into selenium-e2e
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gulpfile.js b/gulpfile.js index dbbb1e4ff..adfb148a9 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -408,11 +408,7 @@ function bundleTask(opts) { .pipe(gulpif(debug, sourcemaps.init({ loadMaps: true }))) // Minification .pipe(gulpif(opts.isBuild, uglify({ - mangle: { reserved: [ 'MetamaskInpageProvider' ] }, - }))) - // Transpile to ES5 - .pipe(gulpif(opts.isBuild, babel({ - presets: ['env'] + mangle: { reserved: [ 'MetamaskInpageProvider' ] }, }))) // writes .map file .pipe(gulpif(debug, sourcemaps.write('./'))) |