Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
linzhe141 committed Sep 12, 2024
1 parent 924b887 commit 77b9adf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/compiler-sfc/src/style/pluginScoped.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ function rewriteSelector(

if (rule.nodes.some(node => node.type === 'rule')) {
const deep = (rule as any).__deep
const nodes = rule.nodes
const nodes = rule.nodes.filter(node => node.type !== 'rule')
if (!deep && nodes.length) {
for (const decl of nodes) {
rule.removeChild(decl)
Expand Down

0 comments on commit 77b9adf

Please sign in to comment.