Features
Analyzing and minifying large files in quick way.
Typed Property Values ​​
@parcel/css parsing all values ​​using the proper grammar from the CSS specification and deliver a specific value type for each property.
Browser-grade parser
@parcel/css is based on the cssparser and selectors crates created by Mozilla and used by Firefox and Servo.
Minification –
One of the main purposes of @parcel/css is to minify CSS to make it smaller, includes many optimizations, including:
Merge adjacent rules with the same selectors or declarations when it is safe to do so.
Combining CSS turns into a single matrix or vice versa if smaller.