Build process stops at rendering chunks
See original GitHub issueDescribe the bug
I’m not really sure if that’s Vite or Sveltekit issue, so i’ve decided to post here.
My project works fine in dev mode, but i cannot build it. I’ve tried multiple adapters, node versions, sveltekit versions and few other things. Every time build halts at ‘rendering chunks’.
I’ve created really minimal repo to reproduce the bug. Probably it’s something that more experienced developer will solve in a blink of an eye (and here i am 4th hour trying to fix it xD).
Let me know if I could provide any more details. I couldn’t find a way to get build logs (i dont even know if it’s saved anywhere, since build process never really finishes, it just halts xD)
Reproduction
I’ve created repo reproducing the issue. Clone it, install dependencies and try to build it.
Logs
No response
System Info
win11
Severity
blocking all usage of SvelteKit
Additional Information
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Related StackOverflow Question
I can confirm that
Solves the problem, although it’s not the best long term solution. Thanks for linking the other issue @bluwy , I should be able to at least upload it now 😃
If
vite.build.minify: falsefixes it, then it’s almost certainly a Vite issue, so I will go ahead and close this issue since there’s nothing that can be done about it in this repo. I recommend following up in the Vite repo. It could help them to have a reproducible test case