Skip to content

Commit

Permalink
fix: update babel preset config
Browse files Browse the repository at this point in the history
set corejs version
#12744
  • Loading branch information
olegshilov authored Mar 23, 2019
1 parent 546c3d2 commit c012961
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/babel-preset-gatsby/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ module.exports = function preset(_, options = {}) {
modules: stage === `test` ? `commonjs` : false,
useBuiltIns: `usage`,
targets,
corejs: 2
},
],
[
Expand Down

0 comments on commit c012961

Please sign in to comment.