-
Notifications
You must be signed in to change notification settings - Fork 538
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
docs(storybook): update builder to webpack 5 #2386
Conversation
|
size-limit report 📦
|
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.
Nice! ⚡
Note: looks like some snapshots have been unintentionally updated. Going to dig in to them now to see what's going on |
This PR updates the storybook builder to webpack 5 and enables lazy compilation to reduce startup times and average chunk size. It also makes some updates to stories to remove deprecated features.
Checklist
showName
is deprecated asname
will stop having dual purposes in the future. Please specify atitle
inglobalTypes
insteadstory-helpers.tsx
updateshowNames
totitle
argType.defaultValue
is deprecated and will be removed in Storybook 7.0.data-source
supplied toReact.Fragment
. React.Fragment can only havekey
andchildren
propsPerformance
Bundles
Webpack 4
Webpack 5
Webpack 5 (LC, Split chunks)