Closed refugedesigns closed 11 months ago
Cannot reproduce with Storybook v7.4.6 (Vite builder) and Designs Addon v7.0.5. Please attach a repro repo or code sandbox if it does not work with default configurations.
This addon does (should) not care about module format of non-JS files. A user is responsible to pass a valid URL to the addon. I don't know about webpack5 builder, but both Vite builder and webpack4 builder output an URL of the image file as a default export, hence the example.
Affected design types
Describe the bug
The configuration in the docs is for old version of addon-design https://storybookjs.github.io/addon-designs/?path=/story/docs-image-readme--page. However using the same configuration is not working in the latest version
How to reproduce the bug?
Expected behaviour
The image should be visible in the design tab
Environment
Affected versions
7.0.5
Storybook versions
7.4.6