Closed tomas-hartman closed 9 months ago
Thanks for using this plugin 🙌
Sure I'll update it today
Unfortunately this addon is not working with Storybook 7, because it is implemented for Webpack usage, but Storybook 7 is using Vite builder
So I need to update this addon, and add support for Vite builder, then I'll be able to update this dependencies for v7
Thanks a lot! I am using storybook 7 with webpack, so it works for me, but vite support would be a great feature as well! I am planning to switch to vite some time in the future anyways.
Can you please share your storybook config (main.js) with me so I'll test it locally? I'm not very familiar with that how to configure SB7 with webpack, and when I just trying to sb@next init --builder webpack5
, this addon is not working for me with this setup
Sure! You can take a look here: https://github.com/tomas-hartman/clean-the-mess/tree/refactor-styling/.storybook
Any news on Vite support. Really like this plugin and I'd love to keep using it with SB7.
Thanks for making it!
@tomas-hartman @craigrileyuk
It happened! Vite and StoryBook v7 support were added 🚀 Now it is available in NPM
Hey! Really cool plugin!
However I have a problem when I install it on Storybook 7 and this problem is peer dependencies. It can be overcome with
npm i --legacy-peer-deps
, but that's not really desired behavior. So far it seems to be working fine withsb 7-rc.3
, but I did not test it properly yet. Would you consider updating the deps/plugin to work with Storybook 7?For clarity, this is the error that I get from reguler
npm i
: