Skip to content

Incorrect CSS output #668

@ocavue

Description

@ocavue

Reproduction link or steps

https://github.com/issueset/tsdown-css-import-tree-issue.git

What is expected?

See dist/esbuild/ and dist/tsup/:

There should be two CSS files, b.css and c.css. Both CSS files should contain --css-var: "a".

What is actually happening?

See dist/tsdown/ and dist/rolldown/:

Three CSS files are genereated b.css, c.css and a-Da8pOdAN.css. b.css and c.css don't contain --css-var: "a".

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions