Skip to content
This repository has been archived by the owner on Nov 3, 2019. It is now read-only.

Commit

Permalink
remove core-js warnings
Browse files Browse the repository at this point in the history
Co-authored-by: Leonardo Dino <leonardo@kunstdesign.com.br>
  • Loading branch information
ChristopherBiscardi and leonardodino committed Mar 31, 2019
1 parent 95c141e commit 78b5893
Show file tree
Hide file tree
Showing 3 changed files with 468 additions and 2 deletions.
3 changes: 3 additions & 0 deletions packages/gatsby-mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
"@mdx-js/react": "^1.0.0-alpha.17"
},
"dependencies": {
"@babel/core": "^7.4.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/preset-env": "^7.4.2",
"core-js": "2",
"debug": "^4.0.1",
"escape-string-regexp": "^1.0.5",
"fs-extra": "^7.0.0",
Expand Down
1 change: 1 addition & 0 deletions packages/gatsby-mdx/utils/gen-mdx.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ ${code}`;
require("@babel/preset-env"),
{
useBuiltIns: "entry",
corejs: 2,
modules: "false"
}
]
Expand Down
Loading

0 comments on commit 78b5893

Please sign in to comment.