You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With this plugin configured (only typescript checks), a dockerised build of vite reaches completion, but does not continue:
#36 9.522 - Using dynamic import() to code-split the application
#36 9.522 - Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
#36 9.522 - Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
#36 9.523 ✓ built in 4.91s
It will just sit forever after completion and not proceed. Even if the check build flag is disabled. The only way I could get my project to build was to specifically disable this plugin:
Makes sense seeing as you won't be seeing it during a build! Unless it's already documented, it's probably worth mentioning in the docs and then closing this issue 😸
Describe the bug
With this plugin configured (only typescript checks), a dockerised build of vite reaches completion, but does not continue:
https://github.com/RawToast/manjuu/actions/runs/12480361973/job/34831066817
It will just sit forever after completion and not proceed. Even if the check build flag is disabled. The only way I could get my project to build was to specifically disable this plugin:
According to https://stackoverflow.com/questions/75839993/vite-build-hangs-forever it seems this has been a problem with other plugins
Reproduction
Have a dockerised build using vite, e.g. https://github.com/RawToast/manjuu/blob/master/frontend/Dockerfile
Try building it with docker-compose, e.g. https://github.com/RawToast/manjuu/blob/master/compose.ci.yml
Watch the build not get stuck after vite builds successfully. It should be reproducible by using this commit (pre removing the plugin via env) https://github.com/RawToast/manjuu/tree/afb12818550e55d83ae121bd80c547abcd4fc474
Expected behavior
Docker to build successfully
System Info
This also occurs on Circle Ubuntu images
Vite 6
System: OS: macOS 14.7 CPU: (8) arm64 Apple M1 Memory: 124.89 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 22.12.0 - /opt/homebrew/opt/node@22/bin/node Yarn: 4.0.0 - /opt/homebrew/bin/yarn npm: 10.9.0 - /opt/homebrew/opt/node@22/bin/npm bun: 1.1.42 - /opt/homebrew/bin/bun npmPackages: vite-plugin-checker: ^0.8.0 => 0.8.0
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: