-
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
Import Link from Gatsby breaks Storybook #29702
Comments
Thank you for opening this! This is something that should be fixed on Storybook's side so that's why the issue is closed. Storybook needs to be made aware of Gatsby's modules, and it seams the best solution to this is a preset/addon. This feature request is tracked there: #28304 We're marking this issue as answered and closing it for now but please feel free to comment here if you would like to continue this discussion. We also recommend heading over to our communities if you have questions that are not bug reports or feature requests. We hope we managed to help and thank you for using Gatsby! |
The workaround no longer works with Storybook 6 |
I had the same problem with storybook 6.5 + vite loader + gatsby. I realized that I don't even need storybook to import gatsby so I provided a module replacement.
and
|
There's already an issue for this but it's closed. However, this bug is still happening even when using the latest versions of Gatsby and Storybook. It really should be fixed.
Related issue: #10668
The text was updated successfully, but these errors were encountered: