Skip to content

Commit

Permalink
Update pluginScoped.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 authored Sep 13, 2024
1 parent a52f369 commit 72857e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/compiler-sfc/src/style/pluginScoped.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ function rewriteSelector(
function isSpaceCombinator(node: selectorParser.Node) {
return node.type === 'combinator' && /^\s+$/.test(node.value)
}

function extractAndWrapNodes(parentNode: Rule | AtRule) {
if (!parentNode.nodes) return
const nodes = parentNode.nodes.filter(
Expand Down

0 comments on commit 72857e7

Please sign in to comment.