Allow only compiling/running storybook with specified stories to speed up load time in bigger projects #30339
laurenzcodes
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
It can take a while to load storybook in dev mode when you are working with a large project and I was thinking of ways to speed that up if you are only working on a smaller part of the whole thing.
Describe the solution you'd like
I would like to see something like a
--story
cli parameter, that let's you specify a single story or dictionary of stories to be available/compiled.storybook dev -p 6007 --story 'Components/Buttons'
for example.Describe alternatives you've considered
I am aware there is
--initial-path=/story/components-button--primary"
for showing a specific story initially, but the rest is still being loaded. I am looking for something that only loads a specific story or dictionary of stories.Are you able to assist to bring the feature to reality?
no (possibly, but no promises)
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions