Skip to content

[css-minifier]custom properties(CSS variables) deduplication #4320

@yisibl

Description

@yisibl

Input

.foo {
    --some-css-variable: red;
}

.foo {
    --some-css-variable: blue;
}

👇🏻 For display purposes, I have retained line breaks and spaces.

Expected output

.foo {
    --some-css-variable: blue;
}

Actual output

.foo {
    --some-css-variable: red;
}

.foo {
    --some-css-variable: blue;
}

See also: parcel-bundler/lightningcss#466

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions