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 5655525 commit 92457e7Copy full SHA for 92457e7
packages/@tailwindcss-vite/src/index.ts
@@ -267,7 +267,7 @@ function isPotentialCssRootFile(id: string) {
267
(extension === 'vue' && id.includes('&lang.css')) ||
268
(extension === 'astro' && id.includes('&lang.css'))) &&
269
// Don't intercept special static asset resources
270
- !id.match(SPECIAL_QUERY_RE)
+ !SPECIAL_QUERY_RE.test(id)
271
272
return isCssFile
273
}
0 commit comments