Install
Works with Drupal: ^10.3 || ^11 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
14.95 KB
MD5: 8c89d1f478ccf516bf56ef99109c7259
SHA-1: 6f11bea37f18d28e78e6a99fc55bc460ef85f74c
SHA-256: 44be3dd06dcf061c1aef58eaefd006e5fad2a6d2a2abb730ccb26f3c3ec17cb3
Download zip
23.12 KB
MD5: 87d07f87d3e00783f83145e273c5a185
SHA-1: f60bb1275603cab2e0449740a82e08da01743c57
SHA-256: 852096c3b4f3613bad719eea3f4622426bb9ac27e4307b202c33864b1243d38f
Release notes
New features, Drupal 12 compatibility and fixes.
Upgrade notes
- Run
drush updb. The update sets the CSS "async"/"defer" option (which never had any effect on<link>) to "None", and disables the module on the administration theme. You can change both in the settings.
Issues fixed
- #3600927: Drupal 12 compatibility. The module no longer copies core's asset resolver and groupers. It uses hook_library_info_alter()/hook_js_alter() and decorators of the core services instead.
- #3484096: defer and async on CSS don't exist. CSS can now be loaded with
rel="preload"(not render-blocking), with a<noscript>fallback. - #3481586: Add hook alter. New
hook_agg_jscss_asyncdefer_strategy_alter(). - #3517878: Add exclusions. The module can be disabled on the administration theme (default) or on selected themes.
Requires Drupal ^10.3 || ^11 || ^12.