Problem
Hi there! I am testing my build setup with vite 6 beta, and I noticed vite fails.
when I remove the patchCssModules plugin the error goes away.
Expected behavior
No errors
Minimal reproduction URL
https://stackblitz.com/edit/vitejs-vite-8sjmgl?file=package.json
Version
v1.6.0
Node.js version
v18.20.3
Package manager
pnpm
Operating system
Linux
Bugs are expected to be fixed by those affected by it
Compensating engineering work financially will speed up resolution