Skip to content

Commit

Permalink
Add: Support at-rule @layer
Browse files Browse the repository at this point in the history
  • Loading branch information
1aron committed May 31, 2024
1 parent 2abb3db commit 22a7c13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/rule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ export class Rule {
let queryType: string | undefined
const atComponents: AtComponent[] = []
// x font-face, counter-style, keyframes, font-feature-values, property, layer
const queryTypeRegExp = /^(media|supports|container)/
const queryTypeRegExp = /^(media|supports|container|layer)/
const atRuleResult = queryTypeRegExp.exec(atToken)
if (atRuleResult) {
queryType = atRuleResult[1]
Expand Down

0 comments on commit 22a7c13

Please sign in to comment.