Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

babel-preset-gatsby-package doesnt specify corejs in babel preset #17706

Closed
baerrach opened this issue Sep 18, 2019 · 0 comments · Fixed by #17723
Closed

babel-preset-gatsby-package doesnt specify corejs in babel preset #17706

baerrach opened this issue Sep 18, 2019 · 0 comments · Fixed by #17723
Labels
help wanted Issue with a clear description that the community can help with. type: bug An issue or pull request relating to a bug in Gatsby

Comments

@baerrach
Copy link

Description

While trying to develop a Gatsby plugin I get the following errors

WARNING: We noticed you're using the `useBuiltIns` option without declaring a core-js version.

This is because babel-preset-gatsby-package does not specify corejs in the preset

https://github.com/gatsbyjs/gatsby/blob/c5cc361d26b2e9e0b31ec68e9f040d7d97c4572f/packages/babel-preset-gatsby-package/index.js

But babel-preset-gatsby does.

https://github.com/gatsbyjs/gatsby/blob/c5cc361d26b2e9e0b31ec68e9f040d7d97c4572f/packages/babel-preset-gatsby/src/index.js

@LekoArts LekoArts added help wanted Issue with a clear description that the community can help with. type: bug An issue or pull request relating to a bug in Gatsby labels Sep 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Issue with a clear description that the community can help with. type: bug An issue or pull request relating to a bug in Gatsby
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants