Added
- Enable custom resolvers to mark imports as external. Resolvers may now return
{external: string}to mark an import as external. This will leave the@importin the output CSS instead of bundling it. See the docs for details. - Allow visitors to add dependencies. Visitors may now be functions which receive an
addDependencyfunction as an option. Dependencies may be used by tools that call Lightning CSS such as bundlers to implement file watching or caching. See the docs for details. - Add
mix-blend-modeproperty support
Fixed
- Output unknown
color-schemekeywords as-is instead ofnormal - Improved serialization of the rotate property
- keep a single space between functions when formatting
transformvalues - Fix additionally inserted whitespace in
var(--foo,)andenv(--foo,) - Convert the percentage in the
scaleproperty orscale()to a number - update compat data