help wantedquestion
仓库指标
- Star
- (4,909 star)
- PR 合并指标
- (平均合并 9小时 18分钟) (30 天内合并 14 个 PR)
描述
Accoring to the specs, "everything under control of CSS" is case-insensitive. Exceptions (not under control) are for example classNames, IDs, url-fragments, etc.
From a compression point of view (e.g. file is transfered via gzip), it's preferable to have similar Strings. Therefore the transfered size of a CSS could be reduced by simply transforming all case-insensitive parts to lowercase.
Do you think some sort of postcss-transform-to-lowercase plugin could be useful? I might be willing to work on something like that, if it has a realistic chance of making it into cssnano :)
Regards MattDiMu