-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Description
With cascade: false
, we should be able to determine whether or not a CSS selector is used:
<div class='foo'>this is a div</div>
<span class='{{class}}'>this is a span with a dynamic class</span>
<style>
/* keep these */
* {...}
div {...}
.foo {...}
.bar {...} /* we don't know the value of `class` */
:hover {...}
/* discard these */
div > p {...}
div p {...}
p {...}
div.bar {...}
</style>
It would be helpful to print a warning if unused selectors are encountered in a component.
Metadata
Metadata
Assignees
Labels
No labels