Skip to content

Commit a2acc4c

Browse files
authored
fix: retain query string when resolveId (#4702)
1 parent 6389546 commit a2acc4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

virtual-shared/integration/src/layers.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export function resolveId(id: string, importer?: string) {
1111
let virtual = match[1]
1212
? `__uno_${match[1]}.css`
1313
: '__uno.css'
14+
virtual += match[2] || ''
1415
if (importer)
1516
virtual = resolve(importer, '..', virtual)
1617
else

0 commit comments

Comments
 (0)