-
Notifications
You must be signed in to change notification settings - Fork 244
Closed
Description
.green {
background: green;
}
.red {
background: red;
}
.green {
background: green;
}I would expect the first .green rule to be dropped when minifying.
Use case
Using the UnoCSS library, I'm generating single-property rules based on usage in JavaScript. This happens on a per-module basis, so in production builds, I would like LightningCSS to deduplicate any rules that are used by multiple modules within a single bundle chunk.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels