sveltejs / svelte

Cybernetically enhanced web apps
https://svelte.dev
MIT License
78.93k stars 4.15k forks source link

Migration: Wrap `:has/not/where/is(...)` selectors in `:global(...)` if necessary #13765

Open dummdidumm opened 4 hours ago

dummdidumm commented 4 hours ago

Describe the problem

These are scoped in Svelte 5, but weren't in Svelte 4

Describe the proposed solution

Adjust migration script to add global if necessary

Importance

nice to have

paoloricciuti commented 4 hours ago

What do we do if we have this AND postcss? Bail out and add a migration task?