MagDevX

Results 2 comments of MagDevX

svelte: 3.55.1 svelte-preprocess: 5.0.1 Having the same issue: ```svelte .highlight { background: yellow; } div:has(input.highlight) { span { color: red; } } .test { input { @extend .highlight; } }...

A potential fix would be to set the [`combinatorPattern`](https://github.com/sveltejs/svelte-preprocess/blob/7428ee68980c4e6dfa0c3916fb980a0bddc63d85/src/modules/globalifySelector.ts#L9) to the following: ``` /(?+~,]\s*)(?![^(]*\))(?![^[]+\]|\d)/g ``` It excludes the content of the parentheses.