Skip to content

Commit

Permalink
Bug fix: Fix regeneratorRuntime error in browser (#3062)
Browse files Browse the repository at this point in the history
  • Loading branch information
eggplantzzz authored and nivida committed Sep 11, 2019
1 parent 8574bd3 commit dc07648
Show file tree
Hide file tree
Showing 4 changed files with 1,286 additions and 1,002 deletions.
2 changes: 1 addition & 1 deletion dist/web3.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,12 @@ packages.forEach(function (pckg, i) {
.pipe(source(pckg.fileName + '.js'))
.pipe(streamify(babel({
compact: false,
presets: ['env']
presets: ['@babel/preset-env']
})))
.pipe(gulp.dest(DEST))
.pipe(streamify(babel({
compact: true,
presets: ['env']
presets: ['@babel/preset-env']
})))
.pipe(streamify(uglify(ugliyOptions)))
.on('error', function (err) { console.error(err); })
Expand Down
Loading

0 comments on commit dc07648

Please sign in to comment.