fluentui
fluentui copied to clipboard
storybook: make storybook start build-less/fast-er
Library
React Components / v9 (@fluentui/react-components)
Describe the feature that you would like added
To be able to use our custom storybook addon in dev loop we need to run storybook within package scope via custom runner abstraction that does following:
- runs
lageto build wholereact-storybook-addondependency chainbuild - runs
start-storybook
This has various issues like:
lageis slow / cache doesn't work always as expected- process termination acts weird/doesn't work all the time
- the general DX is not good
Tasks:
- [x] enable build-less procesing for custom storybook addons within storybook in dev mode | https://github.com/microsoft/fluentui/pull/24168
- [ ] implement storbyook addon plugin loader | https://github.com/microsoft/fluentui/pull/24294
- [ ] migrate all v9 packages to use
start-storybook| https://github.com/microsoft/fluentui/pull/24302 - [ ] remove custom
runner
Have you discussed this feature with our team
No response
Additional context
No response
Validations
- [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.