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
I've a storybook project that uses the webcomponent-vite base and i'm using an external component library built in Stencil, installed via npm.
When i run the dev server, everything works fine, the stories render with the components but when i build the static output and launch the index.html file, the stencil components do not render anymore.
When i navigate to the story, i get an error in the browser saying: TypeError: Failed to fetch dynamically imported module: http://127.0.0.1:5500/<removed>/storybook-static/assets/<removed>.entry.js undefined
And i did verify, the .entry.js files are not being generated by the compiler, for all the stories, yet the files are each time called upon by the runtime.
As it's a company project, i can't share actual code.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Summary
Hello everyone,
I am a bit stuck right now.
I've a storybook project that uses the webcomponent-vite base and i'm using an external component library built in Stencil, installed via npm.
When i run the dev server, everything works fine, the stories render with the components but when i build the static output and launch the index.html file, the stencil components do not render anymore.
When i navigate to the story, i get an error in the browser saying:
TypeError: Failed to fetch dynamically imported module: http://127.0.0.1:5500/<removed>/storybook-static/assets/<removed>.entry.js undefined
And i did verify, the .entry.js files are not being generated by the compiler, for all the stories, yet the files are each time called upon by the runtime.
As it's a company project, i can't share actual code.
Appreciate any help.
Thanks.
Additional information
No response
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions