Closed slorber closed 4 years ago
Hiya!
This issue has gone quiet. Spooky quiet. 👻
We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open! As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out gatsby.dev/contribute for more information about opening PRs, triaging issues, and contributing!
Thanks for being a part of the Gatsby community! 💪💜
Hey again!
It’s been 30 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it.
Please keep in mind that I’m only a robot, so if I’ve closed this issue in error, I’m HUMAN_EMOTION_SORRY
. Please feel free to reopen this issue or create a new one if you need anything else.
As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out gatsby.dev/contribute for more information about opening PRs, triaging issues, and contributing!
Thanks again for being part of the Gatsby community! 💪💜
@slorber I don't immediately see how we can fix this. We don't know if you want to merge or want to override. You can include our babel-preset-gatsby yourself.
sure, I do this, just reported because @sidharthachatterjee asked me on twitter :)
@wardpeet @sidharthachatterjee I'd like to reopen this issue.
I've tried to add this on an existing site that worked (based on Novela theme)
module.exports = function(api) {
return {
presets: [
[
'babel-preset-gatsby',
{
targets: {
browsers: ['>0.25%', 'not dead'],
},
},
],
],
};
};
Is this normal it breaks my site?
Does it mean that plugin babel configs are not applied anymore?
What's the purpose of having a local babel config? Who uses this and how exactly?
I really need a .babelrc at the root of my project, yet when I have one, I'm unable to make my siote work.
Is there an option to tell gatsby to not use the babel config file, even if there is one? Or an ability to configure the configFile path? I would be very interested to have that.
Hiya!
This issue has gone quiet. Spooky quiet. 👻
We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open! As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out gatsby.dev/contribute for more information about opening PRs, triaging issues, and contributing!
Thanks for being a part of the Gatsby community! 💪💜
Hey again!
It’s been 30 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it.
Please keep in mind that I’m only a robot, so if I’ve closed this issue in error, I’m HUMAN_EMOTION_SORRY
. Please feel free to reopen this issue or create a new one if you need anything else.
As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out gatsby.dev/contribute for more information about opening PRs, triaging issues, and contributing!
Thanks again for being part of the Gatsby community! 💪💜
@slorber sorry I didn't see this message. have you installed the preset locally as well?
Hi,
Honnestly I don't remember, I've found a workaround to achieve my goal since then :)
@slorber Are you fine with closing this then? :)
Description
This is a potential bug that I reported on Twitter for which @sidharthachatterjee told me to open an issue: https://twitter.com/chatsidhartha/status/1224192160464982016
Adding an empty .babelrc or babel.config.js at the root of the project makes everything fail, like if the babel plugin wasn't applied property.
I noticed that on my website, based on Novela theme, which is a bit particular, as it is both a Gatsby/Expo app to simplify cross-platform code sharing (didn't want to create a monorepo as RN bundler does not follow symlinks)
https://github.com/slorber/sebastienlorber.com/tree/gatsby-rnw-v3-expo
Was able to reproduce in the official blog theme too.
Steps to reproduce
Expected result
It should work fine, gatsby babel preset should still be applied
Actual result
Various errors
In theme blog, it's basic transpilation errors.
In my website I don't get transpilation errors (because the Expo plugin does transpile the Gatsby code) but it seems like there are query/data problems.
Environment