You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We had a similiar issue after upgrading our storybook from v6 to v7 and switching to the Vite builder. In Development everyhing worked fine but our prod deployment showed the same kind of errors. Seems like Stencil components have problems to be integrated into Vite-based projects. @totoczko suggestion worked like a charm!
Describe the bug
Building storybook stories for web components does not work. The stories are running only in development mode.
Repo
https://github.com/vivere-dally/sb-stencil
To Reproduce
npm init stencil
: choose components templatenpm install
npm run build
npx storybook init
: choose web-components template./.storybook/preview.js
npm run storybook
: worksnpm run build-storybook
python3 -m http.server
The stories are not loading.
System
The text was updated successfully, but these errors were encountered: