snowpack dev is extremely slow with chakra-ui #3379
Unanswered
ADThomsen
asked this question in
Troubleshooting
Replies: 1 comment
-
Anything new on this issue? |
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
-
Hi everyone,
I have a react project in which I use chakra-ui. Since upgrading from snowpack version 3.2.2 we experience extremely slow performance using
snowpack dev
. The first build takes upwards of 15 minutes and eachsnowpack dev
thereafter takes between 3 and 7 minutes before the dev server is ready.I have created a minimal project to replicate the issue. It doesn't take as long as our real project, but it illustrates the issue well enough I think: https://github.com/ADThomsen/snowpack-slow
There are two branches:
On each branch try
Then try stopping the server and run
npm run start
again to see the slow load time after the cache has been built.I'm creating this as a discussion because I'm unsure of where the issue lies and how to fix it - it might just be a configuration I don't know about.
Hint: I have observed on our main project that if I enter the following in our package.json
it will work. I also noticed that the rollup version used by snowpack seems to have changed since version 3.2.2. I don't know if this information is of any use.
Does anyone have a suggestion as to what I should do?
Image example from main - where it is slow:
Image example from snowpack-322 where it is fast
Beta Was this translation helpful? Give feedback.
All reactions