mergeRules

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

Example

Input

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

Output

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