-
-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Labels
Description
Problem
This plugin causes a crash during build on Vite 7.1.0
ERROR error during build:
[vite:css-post] [lightningcss minify] Invalid empty selector
…
It’s not related to lightningcss— it also crashes when using esbuild (default) to minify CSS.
Expected behavior
Build proceeds as normal as it did on Vite v7.0.x.
PS. I am not able to attach a minimal reproduction from work. I can however attach my boilerplate which is currently on Vite 7.0.6. You will find if you update Vite to 7.1.0 that it crashes (and will work again only by disabling vite-css-modules).
Minimal reproduction URL
https://github.com/qeleb/Solid-Boilerplate
Version
v1.9.2
Node.js version
v22
Package manager
yarn
Operating system
macOS
Bugs are expected to be fixed by those affected by it
- I'm interested in working on this issue
Compensating engineering work financially will speed up resolution
- I'm willing to offer financial support