storybook-framework-qwik
storybook-framework-qwik copied to clipboard
qwikCityDecorator breaks static build
I'll dig into this issue next week!
That would be great! if you don't find an easy solution, I'd also be open to just removing the decorator. But then there's the question of whether a consumer will be able to use qwik-city features if they wrap components in the mock provider on their own. Does your use qwik+storybook use qwik-city? I wonder how common this use-case is.
Also, if it's difficult to make the vite configuration work both with and without qwik-city, we could probably have a storybook addon: storybook-framework-qwik/qwik-city so people can opt-in to the qwik-city stuff only if they need it. (and the addon could apply the decorator automatically)