adamgian / minify-selectors

Post-processor to minify class and ID selector names.
Apache License 2.0
8 stars 0 forks source link

Switch to a multipass process #28

Closed adamgian closed 1 year ago

adamgian commented 1 year ago

Currently running as a single pass process where selectors are identified and replaced on the fly.

Process can be changed to a multipass along the lines of:

  1. Identify selectors in files first, logging all found selectors
  2. Generate replacement selectors
  3. Identify selectors in files again, this time replacing with minified selectors
adamgian commented 1 year ago

This will allow the following current issues (and future ones) to be realized:

adamgian commented 1 year ago

As of 4b7e206eeef0d2995e8cfdc52689e96d7fc4e8cf multi-step process is in place