-
Notifications
You must be signed in to change notification settings - Fork 364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: [M3-8924] - Storybook optimizeDeps
config to improve cold start
#11278
Conversation
db06635
to
56b6301
Compare
Coverage Report: ✅ |
Cloud Manager UI test results🎉 453 passing tests on test run #3 ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't personally experienced the Storybook issues described in this PR description, likely because I've only run Storybook locally on a few PRs while this migration has been happening.
I did verify that on this branch, yarn storybook
loaded Storybook as expected (slowly, but no more slowly than it normally loads for me) and I did not see any error output.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar to @mjac0bs, I haven't been experience any issues like the ones described. I haven't been running storybook often. Maybe 2 or 3 times per week.
Happy to support this if it helps the workflow of the team!
Description 📝
This PR attempts to config Storybook's
optimizeDeps
to stabilize the developer experience during the@linode/ui
migration. Often time devs are getting dev build errors with cache validation when using storybook locally after components have been migrated, and especially while switching branches.. Clearing cache manually does not always achieve a clean slate, but I have found this config to help and not add friction or performance degradation.Changes 🔄
optimizeDeps
config to storybookHow to test 🧪
Verification steps
yarn storybook
As an Author, before moving this PR from Draft to Open, I confirmed ✅