Don't return when updating declaration important
This commit is contained in:
parent
5974f24eda
commit
44dbde8ea6
1 changed files with 3 additions and 1 deletions
|
|
@ -250,7 +250,9 @@ function processApplyAtRules(css, lookupTree, config) {
|
|||
]
|
||||
|
||||
const { nodes } = _.tap(postcss.root({ nodes: rulesToInsert }), root =>
|
||||
root.walkDecls(d => (d.important = important))
|
||||
root.walkDecls(d => {
|
||||
d.important = important
|
||||
})
|
||||
)
|
||||
|
||||
const mergedRules = mergeAdjacentRules(rule, nodes)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue