Skip to content

Commit 763f7e4

Browse files
committed
fix: more accurate when matching styles
1 parent 33a0bd4 commit 763f7e4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: src/pitcher.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ export const pitch = function () {
104104
return genProxyModule(
105105
[...afterLoaders, stylePostLoaderPath, ...beforeLoaders],
106106
context,
107-
!!query.module || query.inline != null
107+
!!query.module || query.inline != null,
108+
(query.lang as string) || 'css'
108109
)
109110
}
110111
}

0 commit comments

Comments
 (0)