parent
b175b2802e
commit
aa4723f970
1 changed files with 6 additions and 1 deletions
|
|
@ -109,7 +109,12 @@ function applyVariant(variant, matches, context) {
|
|||
continue
|
||||
}
|
||||
|
||||
let container = postcss.root({ nodes: [rule] })
|
||||
let container = postcss.root()
|
||||
if (typeof rule.clone === 'function') {
|
||||
container.append(rule.clone())
|
||||
} else {
|
||||
container.append(rule)
|
||||
}
|
||||
|
||||
function modifySelectors(modifierFunction) {
|
||||
container.each((rule) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue