Skip to content

Commit

Permalink
Use "entry" for preset-env
Browse files Browse the repository at this point in the history
  • Loading branch information
cgewecke committed Dec 7, 2019
1 parent 245b4ec commit 72bf5f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down

0 comments on commit 72bf5f2

Please sign in to comment.