aboutsummaryrefslogtreecommitdiffstats
path: root/gulpfile.js
diff options
context:
space:
mode:
authorThomas Huang <tmashuang@users.noreply.github.com>2018-03-22 03:22:15 +0800
committerGitHub <noreply@github.com>2018-03-22 03:22:15 +0800
commit6a428bbef78d8d73bf4fcf315f19d6c4e97efbdb (patch)
treeec60a1776400f77647c095e1f60af1e4103c92fb /gulpfile.js
parent072dd7ea2f7ce189b551b9fc8fd8e58aaaec4158 (diff)
downloadtangerine-wallet-browser-6a428bbef78d8d73bf4fcf315f19d6c4e97efbdb.tar.gz
tangerine-wallet-browser-6a428bbef78d8d73bf4fcf315f19d6c4e97efbdb.tar.zst
tangerine-wallet-browser-6a428bbef78d8d73bf4fcf315f19d6c4e97efbdb.zip
Revert "Issue 3505 | Transpile to ES5"
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js6
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('./')))