linkedin / opticss

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

feat: Ability to specify identifier ranges. #73

Closed chriseppstein closed 4 years ago

chriseppstein commented 4 years ago

This ability lets the output of opticss on different stylesheets co-exist in the same build by allowing configuration to specify an identifier range for opticss to use. The build integration must guarantee that the identifier ranges are non-overlapping.

When this is enabled, if more identifiers are needed than are available an error is raised.