-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
gatsby-plugin-is-child-of-type #3936
Conversation
Deploy preview for using-glamor failed. Built with commit 27e58f0 https://app.netlify.com/sites/using-glamor/deploys/5a7d2f1edf99537d2f894263 |
Deploy preview for gatsbygram ready! Built with commit 27e58f0 |
Yeek. Looking at #3864, it looks like this should probably be in gatsby rather than being configured as a plugin. @KyleAMathews if you agree lmk and I can amend the PR. |
Hmm yeah — making this a built-in core util makes sense since it's Gatsby that causes the problem so we should also provide the means to fix it (in again a Gatsby specific way). |
Roger that. 😉 |
Hey, would love to have this finished up! Closing out old PRs but please @scottyeck or anyone else interested open a new PR adding a util. |
Sets up environment-specific check for child type detection. See #3486 for context.