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
fix(babel-preset-gatsby-package): apply "corejs" only to non-browser target #17727
Conversation
Sorry! I should committed the updates on |
@gonzarodriguezt No problem at all! Yeah, the |
Oh okay @sidharthachatterjee let's wait then 🙏 |
This looks quite weird, I don't think we want to add polyfills to browser code we ship in our npm packages? We only want to add them for site bundles (which is handled by |
@pieh That does make sense! So then if that |
What is this exactly fixing? I think we are missing some context around why this is needed |
Ok, so I think this make sense to add |
Yup, that is the cleanest way to go. Let me update this. |
And incidentally, |
@pieh Done |
You're awesome guys! Hopefully my next contrib will be less messy 😅thank you! |
Don't worry about it! We didn't catch that in review either! |
You did great! And thank you so much 🤗 |
…target (gatsbyjs#17727) * Fix error when building gatsby-transformer-sqip * Update snapshots * Only add corejs for node
Appears to have been introduced in #17723