We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8897c3e commit de91192Copy full SHA for de91192
1 file changed
packages/astro/src/vite-plugin-css/index.ts
@@ -53,6 +53,10 @@ function* collectCSSWithOrder(
53
};
54
return;
55
}
56
+ // ?raw imports the underlying css but is handled as a string in the JS.
57
+ else if(id.endsWith('?raw')) {
58
+ return;
59
+ }
60
61
// Recursively walk imported modules (depth-first)
62
for (const imp of imported) {
0 commit comments