diff options
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('./'))) |