zap icon indicating copy to clipboard operation
zap copied to clipboard

Optimize scoped css transformation

Open simolus3 opened this issue 3 years ago • 0 comments

We currently just add a class to every selector, which doesn't appear to always be correct and certainly isn't the most efficient approach. This process could probably be optimized, for instance by once again looking at how Svelte is doing it.

While we're at it, we could also try to find all nodes potentially affected by styles at compile-time and only add relevant classes to them.

simolus3 avatar Feb 18 '22 13:02 simolus3