Description
Describe the bug
Using addon-svelte-csf
to create svelte stories, it work perfectly when they are in the src folder tree, but as soon as they are package ( exact same file ) and end up in the node_modules folder tree, it seems to lose something and end up to an errors :
No primary story attached to this docs file, did you forget to use <Meta of={} />?
Steps to reproduce the behavior
-
add a package with component and stories using
addon-svelte-csf
-
add the same components + stories in a forlder in src file tree
-
configure the main.ts to use the stories of the src and the node_modules folders
-
launch storybook, an see the src one working as expected and the node_modules reach an error ( cf: screenshot )
Expected behavior
Same Behavior for the two kind of usage, as for a classic stories this way of doing work without any issues
Environment
- OS: Windows
- Node.js version: v21.5.0
- NPM version: 10.5.0