-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: improve Storybook performance (#1853)
Update Storybook to version 8.3.0-alpha.5 which includes a bug fix which reduced the bundle size of our build Storybook from 26MB to 6MB and reduced build time from 37s to 10s. This change also significantly improves the loading performance of the onyx Storybook. If you are interested, the bug was caused by the vue-component-meta package which included ALL schema definitions for props, events, slots and exposed so if e.g. HTMLElement was used, it included all nested props, JSDocs etc. although they are not needed/used by Storybook, see [Storybook PR](storybookjs/storybook#28589)
- Loading branch information
1 parent
cc4e678
commit e2648b6
Showing
8 changed files
with
291 additions
and
2,857 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
"@sit-onyx/storybook-utils": major | ||
--- | ||
|
||
bump minimum Storybook version to `8.3.0-alpha.5` | ||
|
||
Storybook version `8.3.0-alpha.5` now official supports the improved source code generation, see [changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.prerelease.md#830-alpha3) so we removed our temporarily forked source code generator from `@sit-onyx/storybook-utils`. | ||
|
||
Therefore, the minimum Storybook version was bumped to `8.3.0-alpha.5` which also includes a bug fix that significantly reduces the bundle size when building the Storybook. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
262 changes: 0 additions & 262 deletions
262
packages/storybook-utils/src/source-code-generator.spec.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.