Skip to content

Commit

Permalink
fix(core): support css id with query
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Sep 12, 2022
1 parent 1572e6e commit 5f9fc0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/utils/helpers.ts
@@ -1,7 +1,7 @@
import type { ParsedUtil, RawUtil, StringifiedUtil, Variant, VariantObject } from '../types'

export const attributifyRE = /^\[(.+?)~?="(.*)"\]$/
export const cssIdRE = /\.(css|postcss|sass|scss|less|stylus|styl)$/
export const cssIdRE = /\.(css|postcss|sass|scss|less|stylus|styl)($|\?)/
export const validateFilterRE = /[\w\u00A0-\uFFFF-_:%-?]/
export const CONTROL_SHORTCUT_NO_MERGE = '$$shortcut-no-merge'

Expand Down

0 comments on commit 5f9fc0e

Please sign in to comment.