github callstack/linaria @linaria/server@8.3.0

Patch Changes

  • b3769e2: collect no longer moves rules out of the parsed stylesheet one by one. That made it quadratic in the number of top-level rules and took seconds on large stylesheets.

    It also fixes two bugs:

    • other lost rules from an at-rule when a non-critical rule came before a critical one;
    • blockedClasses let every second matching rule into critical.

    Whitespace between rules in the output now follows the source stylesheet.

  • 92ea7cc: collect gives the keyframes it appends to the critical CSS the same whitespace with postcss 8.4 and 8.5. With postcss 8.5.19 and later, a blank line that preceded the keyframes in the source stylesheet ended up in the critical CSS.

Don't miss a new linaria release

NewReleases is sending notifications on new releases.