-
-
Notifications
You must be signed in to change notification settings - Fork 224
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
Support Gatsby plugins with resolve #525
Comments
Also, this is a valid config too, so resolving the used plugins seems to be a harder task: 'gatsby-plugin-sharp',
'gatsby-transformer-sharp',
{
resolve: 'gatsby-transformer-remark',
options: {
plugins: [
{
resolve: 'gatsby-remark-relative-images',
options: {
name: 'uploads',
},
}]
}
} |
Gatsby identifies the following elements as plugin entries:
Also there is an option for plugins to have plugins of their own. So the based on the above snippets I'd consider the following rules to find the used plugins:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the following file, https://github.com/badges/shields/blob/master/gatsby-config.js,
gatsby-plugin-page-creator
is not detected because it's set using a different syntax than what is currently expected.The text was updated successfully, but these errors were encountered: