Andrey Sitnik
Andrey Sitnik
Better. But best way will be just a diff — ”replace this to this” (sorry, that I only write bad things, I am Russian we always only talk only about...
Yeap, but we can provide diff for easy and popular cases and have API for other cases :)
I think realtive time is fine too. Because the main purpose of coloring is to find slowest plugins and optimize them.
Looks good
Why it will change AST?
Technically it should be major
To be honest, I am not sure that I know the best answer. But I think in selector parser we should work with spaces in a different way, compare to...
Why do we need a `raws` for whitespaces when we have `space` token?
`a b` > `{ type: "word", value: "a" }, { type: "space", value: " " }, { type: "word", value: "b" }`
I am not sure that we should omit them from AST.