Skip to content

Commit 2a1b0fc

Browse files
authored
chore: use value instead of n.value (vuejs#1770)
1 parent 86a4f2a commit 2a1b0fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/compiler-sfc/src/stylePluginScoped.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export default postcss.plugin('vue-scoped', (id: any) => (root: Root) => {
9393

9494
// global: replace with inner selector and do not inject [id].
9595
// ::v-global(.foo) -> .foo
96-
if (value === ':global' || n.value === '::v-global') {
96+
if (value === ':global' || value === '::v-global') {
9797
selectors.insertAfter(selector, n.nodes[0])
9898
selectors.removeChild(selector)
9999
return false

0 commit comments

Comments
 (0)