Storybook build hangs/freezes at tranform stage and takes long time to build storybook #24723
Unanswered
bilalbhojani24
asked this question in
Help
Replies: 1 comment
-
I experienced a very similar problem with Storybook 7 and Vite 5. In my case, the build started working normally after I added |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a monorepo setup that has multiple packages based on the storybook. I have 2 packages now, PackageA(mui) and PackageB(mui-icons) and both are workspace packages. I am using the mui-icons package in the mui package:-
Case 1:- When I use workspace:* package of mui-icons the build takes lots of time and hangs at the transforming stage for a long time and takes approx. 4-5 minutes to build. Also dev server of the storybook renders UI but the first story takes a lot of time to come up.
Case 2:- Similarly, if I publish package mui-icons on GitHub packages and use then I don't face the above issues, and build happens in seconds.
Note:- I cannot provide repro, as it is a private repo.
main.js of mui
package.json of MUI
Beta Was this translation helpful? Give feedback.
All reactions