-
-
Notifications
You must be signed in to change notification settings - Fork 9.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
Next.js: Support disableStaticImages setting #23167
Next.js: Support disableStaticImages setting #23167
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Very much interested in this. What is the expected timeline for this being available on npm? |
Hi! Thank you for working on this fix! My team is also very interested in this work as it's a blocker for our app's upgrade to storybook v7. Seconding the above question - what is the timeline for its release? |
…tatic-images-prop-in-nextjs Next.js: Support disableStaticImages setting (cherry picked from commit eda9fc2)
Closes #22899
What I did
Support disableStaticImages setting in Next.js-based Storybooks.
How to test
import asset from './asset.jpg'
shouldn't return an object anymore, but a plain string instead, which can be passed to an<img ... />
element.Checklist
MIGRATION.MD
Maintainers
make sure to add the
ci:merged
orci:daily
GH label to it.["cleanup", "BREAKING CHANGE", "feature request", "bug", "documentation", "maintenance", "dependencies", "other"]