Closed johann-taberlet closed 1 year ago
This issue has been automatically marked stale because it it received no activity for 60 days. If you wish to keep this open, please leave a comment. Thanks.
This issue has been automatically closed because it received no activity for 60 days. If you think this was closed by accident, please leave a comment. Thanks.
Regarding the upcoming release of storybook v7 and the accompanying framework api that replaces this addon. I'm switching this package into "keep the lights on" mode and directing everyone using this addon to switch to storybook's framework api.
Please report any issues you have with migrating though :)
Describe the bug
Next image loader doesn't support avif format due to the use of the package image-size which doesn't support avif
Your minimal, reproducible example
None
Steps to reproduce
Add an
<Image src="mum.avif" />
in a component which has a story. Run Storybook Crash with this stack trace:Expected behavior
Support avif format
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
storybook-addon-next version
1.6.9
Additional context
Could be solved by using a package that supports avif format to get dimensions of images (e.g probe-image-size)