linkedin/opticss

Optimization: Remove classes that aren't in the stylesheet.

Opened this issue · 0 comments

If an element has a classname that isn't in the source stylesheet, that class should be removed by the rewriter.

We can save the classes that are used in only the stylesheets during the initKnownIdents initializer and then create MarkAttributeValueObsolete actions for the classnames that are never found.