-
Notifications
You must be signed in to change notification settings - Fork 319
Closed
Description
Environment
- clean-css version -
npm ls clean-css: 4.2.1 - node.js version -
node -v: 10.x - operating system: windows/liunx
Input CSS
.c{
border: 2rpx solid #ddd;
}Actual output CSS
.c{
border: solid #ddd;
}Expected output CSS
.c{
border: 2rpx solid #ddd;
}related #882
As we know that rpx is not a standard css unit,
but it's a valid unit in wxss and some processors.
How to keep it in the clean result?
- a config to ignore the unknown unit?
- extend
unitsconfig to support user-defined unit?
Metadata
Metadata
Assignees
Labels
No labels