linkedin / opticss

A CSS Optimizer
BSD 2-Clause "Simplified" License
715 stars 24 forks source link

Don't emit dynamic classes that are already static #8

Open chriseppstein opened 6 years ago

chriseppstein commented 6 years ago

an optimized style that's set because it's inferred by both a static and a dynamic source value is currently returned as being set dynamically in addition to the static value. The dynamic class should be removed from the rewrite mapping.