Running uncss against Angular templates?

Viewed 988

With uncss we can remove unused css from our stylesheets. It works by looking at the html files to be deployed and only packaging the css rules used.

Angular 4 has directives that apply conditional css like this:

<li *ngFor="let todo of todos" [class.completed]="todo.complete">

Anyone know if there is an uncss like tool that understands [class.completed]="todo.complete"?

1 Answers
Related