-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Local plugin no longer resolvable [v2.17.7] #19150
Comments
I believe it is caused by #15856 |
I was able to get the build to proceed after adding an empty |
@esetnik - great find, thanks for this!
It should also be added to https://www.gatsbyjs.org/docs/creating-a-local-plugin/ |
It shouldn't say that it is required from 2.17.7 and onwards as it was always required (also by npm itself). The documentation should be updated, yes, but say that the We'd highly appreciate a PR for that! |
It wasn’t always required in the sense that it was working just fine without having an index.js file before the latest update. |
dropping in the empty index.js worked for me |
Fixed by @vladar and published in Thank you for reporting! |
Description
After upgrading to gatsby v2.17.7 local plugins no longer work. Reverting to v2.17.6 resolves the issue.
Steps to reproduce
package.json
gatsby-browser.js
Expected result
v2.17.7 is a semver patch and should not exhibit any change in behavior. Local plugins should still work.
Actual result
Local plugins no longer work
Environment
The text was updated successfully, but these errors were encountered: