Module always chooses default-critical.css

Created on 4 November 2024, 18 days ago

Problem/Motivation

No matter what page I'm on, the module always chooses default-critical.css, even when page-specific critical CSS files exist (front.css, page.css, path-<bundle>.cssetc).

I also see the test CriticalCssHeadTest failing in a separate vanilla dev site. When I debugged the test by dumping the rendered page outputs within the test, I saw the same thing:

default-critical.css is loaded into the page instead of front.css and node-1.css.

Environment

  • D11
  • PHP8.3
πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States kentr

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024