Skip to content

Commit 67fc28c

Browse files
fix: css regex
Co-authored-by: Jordan Pittman <[email protected]>
1 parent 5395ed8 commit 67fc28c

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
@@ -101,7 +101,7 @@ export default function tailwindcss(opts: PluginOptions = {}): Plugin[] {
101101
filter: {
102102
id: {
103103
exclude: [/\/\.vite\//, SPECIAL_QUERY_RE, COMMON_JS_PROXY_RE],
104-
include: [/css(?:\?.*)?$/, /&lang\.css/, INLINE_STYLE_ID_RE],
104+
include: [/\.css(?:\?.*)?$/, /&lang\.css/, INLINE_STYLE_ID_RE],
105105
},
106106
},
107107
async handler(src, id) {

0 commit comments

Comments
 (0)