Skip to content

Next.js: Support disableStaticImages setting#23167

Merged
valentinpalkovic merged 5 commits into
nextfrom
valentin/support-disable-static-images-prop-in-nextjs
Jun 27, 2023
Merged

Next.js: Support disableStaticImages setting#23167
valentinpalkovic merged 5 commits into
nextfrom
valentin/support-disable-static-images-prop-in-nextjs

Conversation

@valentinpalkovic

@valentinpalkovic valentinpalkovic commented Jun 21, 2023

Copy link
Copy Markdown
Contributor

Closes #22899

What I did

Support disableStaticImages setting in Next.js-based Storybooks.

How to test

Checklist

  • Make sure your changes are tested (stories and/or unit, integration, or end-to-end tests)
  • Make sure to add/update documentation regarding your changes
  • If you are deprecating/removing a feature, make sure to update
    MIGRATION.MD

Maintainers

  • If this PR should be tested against many or all sandboxes,
    make sure to add the ci:merged or ci:daily GH label to it.
  • Make sure this PR contains one of the labels below.

["cleanup", "BREAKING CHANGE", "feature request", "bug", "documentation", "maintenance", "dependencies", "other"]

@valentinpalkovic valentinpalkovic self-assigned this Jun 21, 2023
@valentinpalkovic valentinpalkovic added bug patch:yes Bugfix & documentation PR that need to be picked to main branch labels Jun 21, 2023
@valentinpalkovic valentinpalkovic changed the title Support disableStaticImages setting in Nextjs Next.js: Support disableStaticImages setting Jun 21, 2023
@valentinpalkovic valentinpalkovic requested a review from yannbf June 21, 2023 08:33

@yannbf yannbf left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@valentinpalkovic valentinpalkovic added the ci:daily Run the CI jobs that normally run in the daily job. label Jun 21, 2023
@ssijak

ssijak commented Jun 26, 2023

Copy link
Copy Markdown

Very much interested in this. What is the expected timeline for this being available on npm?

@KseniaAK

Copy link
Copy Markdown

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?

@valentinpalkovic valentinpalkovic merged commit eda9fc2 into next Jun 27, 2023
@valentinpalkovic valentinpalkovic deleted the valentin/support-disable-static-images-prop-in-nextjs branch June 27, 2023 23:11
@valentinpalkovic

valentinpalkovic commented Jun 27, 2023

Copy link
Copy Markdown
Contributor Author

Hi @ssijak, @KseniaAK

Hopefully the next few days we can release this feature with a next 7.1 beta release!

JReinhold pushed a commit that referenced this pull request Jul 2, 2023
…tatic-images-prop-in-nextjs

Next.js: Support disableStaticImages setting

(cherry picked from commit eda9fc2)
@github-actions github-actions Bot mentioned this pull request Jul 2, 2023
15 tasks
@github-actions github-actions Bot added the patch:done Patch/release PRs already cherry-picked to main/release branch label Jul 3, 2023
@ndelangen ndelangen removed the patch:yes Bugfix & documentation PR that need to be picked to main branch label Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug ci:daily Run the CI jobs that normally run in the daily job. patch:done Patch/release PRs already cherry-picked to main/release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: @storybook/nextjs does not respect disableStaticImages flag in next.config.js

5 participants