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
CSS linked via <link rel="stylesheet" href="./bla.css" media="screen" /> is not processed by default after #6751. I think it's still good as we provide a way for this to work with the caveat that PostCSS won't process them.
This issue is to track progress on processing these CSS files.
I've looked into it, and it seems harder than expected, since we need to pass the attribute info to chunk.viteMetadata.importedCss to properly re-generate the links. Currently it's only a list of strings, which isn't enough without making a breaking change, since it's public API.
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.
Describe the bug
CSS linked via
<link rel="stylesheet" href="./bla.css" media="screen" />
is not processed by default after #6751. I think it's still good as we provide a way for this to work with the caveat that PostCSS won't process them.This issue is to track progress on processing these CSS files.
I've looked into it, and it seems harder than expected, since we need to pass the attribute info to
chunk.viteMetadata.importedCss
to properly re-generate the links. Currently it's only a list of strings, which isn't enough without making a breaking change, since it's public API.Reproduction
https://stackblitz.com/edit/vitejs-vite-7sqny9?terminal=dev
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: