This release includes a few new features and bug fixes.
Parcel CSS will now try to preserve unknown @ rules and selectors rather than erroring (a warning will be emitted instead). These rules are not fully parsed and therefore may not be minified as much as possible. This is useful in cases where Parcel CSS has not yet implemented a feature that browsers are experimenting with.
We now also have experimental bindings to use Parcel CSS via C, which will enable it to be used from many languages other than Rust and JavaScript. See here for an example. For now, this will need to be compiled from source. More features will be added in future updates as the need arises (please open a feature request).
Features
- Preserve unknown at rules as raw tokens
- Store unsupported functional pseudo classes and elements as raw tokens
- Experimental C bindings
- Support parsing tech() function in
@font-face
- Parse and prefix box-decoration-break property