I noticed an unnecessary duplication of @supports rules when using the Lightning CSS minification, which also differs from the LightningCSS playground output.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] 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.
Describe the bug
I noticed an unnecessary duplication of
@supports
rules when using the Lightning CSS minification, which also differs from the LightningCSS playground output.1st test (OKLCH):
Input:
Result:
Expected result (LightningCSS playground):
///
2nd case (display-p3):
Input:
Result:
Expected result (LightningCSS playground):
Reproduction
https://stackblitz.com/edit/vitejs-vite-wdjgbn?file=src%2FApp.css,vite.config.ts
Steps to reproduce
Run
pnpm build
to inspect/dist
folder for CSS outputSystem Info
Used Package Manager
pnpm
Logs
No response
Validations