reduceIdents

Renames at-rules such as @keyframes. This can be potentially unsafe if other JS/CSS files need to read this definition.

Example

Input

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
.box {
    animation-name: fadeOut;
}

Output

@keyframes a {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
.box {
    animation-name: a;
}