Skip to content

Commit 92457e7

Browse files
Update packages/@tailwindcss-vite/src/index.ts
1 parent 5655525 commit 92457e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@tailwindcss-vite/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ function isPotentialCssRootFile(id: string) {
267267
(extension === 'vue' && id.includes('&lang.css')) ||
268268
(extension === 'astro' && id.includes('&lang.css'))) &&
269269
// Don't intercept special static asset resources
270-
!id.match(SPECIAL_QUERY_RE)
270+
!SPECIAL_QUERY_RE.test(id)
271271

272272
return isCssFile
273273
}

0 commit comments

Comments
 (0)