github parcel-bundler/lightningcss v1.25.0

latest release: v1.25.1
one month ago

This release adds more granular options for CSS modules, implements some new CSS properties, and fixes bugs.

Added

  • Add granular options to control which identifiers are scoped in CSS modules. You can turn off scoping for grid, animation, and custom_idents. This may be useful when migrating from other tools. See docs. Thanks @timneutkens! 83839a9
  • Optimize the all shorthand property to reset other properties except direction and unicode-bidi. d7aeff3
  • Implement animation-timeline property and add support for it in the animation shorthand f4408c7

Fixed

  • Prevent simplifying translate: none and scale: none which are distinct from translate: 0 and scale: 1. Thanks @RobinMalfait! a4cc024
  • Fix crash on box-shadow with currentColor keyword. Thanks @magic-akari! 06ba62f
  • Fix minifier removing zero channels in color() function to follow spec change 445def9
  • Fix CSS module scoping with variables in animation shorthand fb4b334
  • Update browser compatibility data ec9da43

Don't miss a new lightningcss release

NewReleases is sending notifications on new releases.