Skip to content

CSS error breaks optimization #479

@PavelFil

Description

@PavelFil

Hello. This code can't be minified:

.marquee p:nth-child {
    color:red;
}

The error text:

/usr/lib/node_modules/csso-cli/node_modules/csso/cjs/restructure/prepare/specificity.cjs:80
                        const arg = node.children.first;

Online service https://css.github.io/csso/csso.html shows error too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions