Post-process generated CSS to remove unused variables and inline constants
Open
enhancement
- Dominant language
- JavaScript
- Stars
- 10.3k
- Forks
- 481
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 13
Description
In the StyleX compilation process, after the collected styles are de-duplicated and combined, process the generated CSS to:
1. Find any unused CSS variables and remove them.
2. Find any CSS variables that are never re-assigned (they only have one value in the entire stylesheet) and inline their usage in the whole CSS file.
Contributor guide
Assessment
This issue has not been assessed yet.