Issue:
When adding gatsby and react-native-web to an existing expo project with the above instructions, yarn gatsby develop will error out. Something about gatsby graphql calls at compile time.
Resolution:
Install babel-plugin-remove-graphql-queries plugin and update the babel config file. yarn add --dev babel-plugin-remove-graphql-queries
It's been fixed in 3.0.0-beta.7
Please let me know if you have other issues or if you build something meaningful with the plugin.
You shouldn't need a local babel config anymore (but it can be useful if you are using the same folder as a gatsby app + an Expo app, like in this setup).
It may be worth to read also the plugin's readme, as I've just updated it.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Issue:
When adding gatsby and react-native-web to an existing expo project with the above instructions,
yarn gatsby develop
will error out. Something about gatsby graphql calls at compile time.Resolution:
Install babel-plugin-remove-graphql-queries plugin and update the babel config file.
yarn add --dev babel-plugin-remove-graphql-queries
Edit:
I found the fix here: github.com/slorber/gatsby-plugin-r...
It's been fixed in 3.0.0-beta.7
Please let me know if you have other issues or if you build something meaningful with the plugin.
You shouldn't need a local babel config anymore (but it can be useful if you are using the same folder as a gatsby app + an Expo app, like in this setup).
It may be worth to read also the plugin's readme, as I've just updated it.