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
Is your feature request related to a problem? Please describe
I was trying to enable the test-runner for svelte-native story files using stories.json mode as suggested in storybookjs/test-runner#80 (comment), but I found that stories.json is not generated for .svelte stories, see
I looked into this a bit when trying to make storyStoreV7 work with Svelte, and at a minimum the StoryIndexGenerator needs a way to use the CSF parser that currently lives in addon-svelte-csf instead of the normal CSF parser built into core.
This has been addressed in 7.0, which allows indexing svelte files. The latest 3.0.0 prerelease versions of @storybook/addon-svelte-csf use the new story indexer added in 7.0.
Is your feature request related to a problem? Please describe
I was trying to enable the test-runner for svelte-native story files using stories.json mode as suggested in storybookjs/test-runner#80 (comment), but I found that stories.json is not generated for
.svelte
stories, seestorybook/lib/core-server/src/utils/StoryIndexGenerator.ts
Lines 51 to 54 in 552b0d3
Describe the solution you'd like
It would be cool if stories.json included .svelte files. Or, if that's not feasible, we should document it.
Are you able to assist to bring the feature to reality?
I doubt it.
The text was updated successfully, but these errors were encountered: