diff --git a/gulpfile.js b/gulpfile.js index 718a23722e6..0a7059bfaca 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -188,7 +188,7 @@ packages.forEach(function(pckg, i) { stream = stream.pipe(source(pckg.fileName + '.js')) .pipe(streamify(babel({ compact: false, - presets: [[ '@babel/preset-env', { "useBuiltIns": "usage", "corejs": 2 } ]] + presets: [[ '@babel/preset-env', { "useBuiltIns": "entry", "corejs": 2 } ]] }))); if (pckg.fileName === 'web3') {