-
Notifications
You must be signed in to change notification settings - Fork 244
Open
Description
It seems that the order of properties are not maintained when bundle with lightning css.
With this input :
.item {
animation: fade both;
animation-timeline: scroll(root block);
}I've got this output :
.item {
animation-timeline: scroll(root block);
animation: fade both;
}The issue is that animation will override animation-timeline, so it'll not work.
I'm using vite with this config :
return {
build: {
cssMinify: 'lightningcss' as const,
},
css: {
transformer: 'lightningcss' as const,
lightningcss: {
drafts: {
nesting: true,
customMedia: true
}
},
}
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels