Closed
Description
Describe the bug
When adding a Vite plugin inside a fresh Nuxt project, waitForRequestIdle
on CSS assets will stall indefinitely.
Reproduction
https://github.com/philipp-spiess/vite-waitForRequestIdle-issue
Steps to reproduce
npm install
npm run dev
- Go to the local dev server and observe the website stuck in loading state
System Info
System:
OS: macOS 15.0
CPU: (10) arm64 Apple M1 Max
Memory: 9.59 GB / 64.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.16.0 - ~/.local/share/mise/installs/node/20.16.0/bin/node
npm: 10.8.1 - ~/.local/share/mise/installs/node/20.16.0/bin/npm
pnpm: 9.6.0 - ~/.local/share/mise/installs/pnpm/9.6.0/bin/pnpm
bun: 1.1.26 - ~/.local/share/mise/installs/bun/1.1.26/bin/bun
Watchman: 2024.08.05.00 - /opt/homebrew/bin/watchman
Browsers:
Chrome: 128.0.6613.86
Safari: 18.0
npmPackages:
vite: latest => 5.4.2
Used Package Manager
pnpm
Logs
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.