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
Transpilation generates unnecessary fallback inside @support. For example, when lab() is used inside @supports (color: lab(0% 0 0)), lightningcss generates @supports (color: lab(0% 0 0)) inside it.
These kinds of input happens in Vite because Vite runs lightningcss two times. First to transpile CSS to make other plugins able to process CSS, second to minify the final CSS.
Original issue: vitejs/vite#16354
The text was updated successfully, but these errors were encountered:
sapphi-red
changed the title
Transpilation generates unnecessary fallback inside @support
Transpilation generates unnecessary fallback inside @supportsDec 26, 2024
Transpilation generates unnecessary fallback inside
@support
. For example, whenlab()
is used inside@supports (color: lab(0% 0 0))
, lightningcss generates@supports (color: lab(0% 0 0))
inside it.playground
These kinds of input happens in Vite because Vite runs lightningcss two times. First to transpile CSS to make other plugins able to process CSS, second to minify the final CSS.
Original issue: vitejs/vite#16354
The text was updated successfully, but these errors were encountered: