Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Drupal 10+ CSS/JS Aggregation support #337

Merged
merged 2 commits into from
Jun 6, 2024
Merged

Conversation

joecorall
Copy link
Contributor

@joecorall joecorall commented Jun 3, 2024

With CSS/JS aggregation enabled in Drupal 10, nginx needs to first check if the CSS/JS exists on disk. If not, needs to forward the request to Drupal/php

How to test

Using ISLANDORA_TAG=3.2 see that when CSS/JS aggregation is enabled in your Drupal stack, your theme's page displays are broken

Using this PR's tag ISLANDORA_TAG=d10-css-js-aggregations see that CSS/JS aggregation works as expected

Related conversations

https://islandora.slack.com/archives/C019U12D44Q/p1717446855079619?thread_ts=1699377978.424099&cid=C019U12D44Q

Copy link
Contributor

@nigelgbanks nigelgbanks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good other than the one issue I highlighted.

drupal/rootfs/etc/nginx/shared/drupal.defaults.conf Outdated Show resolved Hide resolved
@joecorall joecorall requested a review from nigelgbanks June 5, 2024 17:23
@nigelgbanks nigelgbanks merged commit 3e2d454 into main Jun 6, 2024
76 checks passed
@nigelgbanks nigelgbanks deleted the d10-css-js-aggregations branch June 6, 2024 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants