mergeRules

Merges adjacent rules by selectors & overlapping property/value pairs.

.box {
    color: blue;
}
.box {
    font-weight: 700;
}
.box {
    color: blue;
    font-weight: 700;
}

View on GitHub