cssDeclarationSorter

根据属性名称对 CSS 声明进行排序,这样经过 gzip 压缩后的 CSS 会更小,因为会有更多相似的字符串。

示例

输入

body {
    animation: none;
    color: #C55;
    border: 0;
}

输出

body {
    animation: none;
    border: 0;
    color: #C55;
}