Aggregated assets not exporting since Drupal 10.1

Created on 19 October 2023, 8 months ago

Problem/Motivation

Similar to πŸ› CSS assets not exported to the static directory when aggregation is on Active we are not getting aggregated css and js files if they haven't been generated yet. This is because these files are now generated on demand, similar to image styles.

Steps to reproduce

Run \Drupal\Tests\preview_site\Kernel\TomeGeneratorNodeGlobalTest::testGenerationDefault

Proposed resolution

Replicate image style workaround for css / js assets.

Remaining tasks

BC for Drupal 10.0 and below.

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ› Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia mstrelan

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

Comments & Activities

  • Issue created by @mstrelan
  • @mstrelan opened merge request.
  • Status changed to Needs work 8 months ago
  • πŸ‡¦πŸ‡ΊAustralia mstrelan

    Down to two errors which don't seem to be related to aggregation. Needs work for < 10.1 compatibility.

Production build 0.69.0 2024