Skip to content

Commit

Permalink
fix: capture group of RESOLVED_ID_RE (#3588)
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaStevens committed Mar 3, 2024
1 parent 84088d8 commit 09514db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shared-integration/src/layers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const VIRTUAL_ENTRY_ALIAS = [
export const LAYER_MARK_ALL = '__ALL__'

export const RESOLVED_ID_WITH_QUERY_RE = /[\/\\]__uno(?:(_.*?))?\.css(\?.*)?$/
export const RESOLVED_ID_RE = /[\/\\]__uno(?:(_.*?))?\.css$/
export const RESOLVED_ID_RE = /[\/\\]__uno(?:_(.*?))?\.css$/

export function resolveId(id: string) {
if (id.match(RESOLVED_ID_WITH_QUERY_RE))
Expand Down

0 comments on commit 09514db

Please sign in to comment.