Theme assets are now being resolved in a case-sensitive manner

Created on 31 March 2025, 11 days ago

Problem/Motivation

Starter kit refers to a custom font in the `$ct-fonts` mapping at: `fonts/Roboto/Roboto-Regular.woff`
https://github.com/civictheme/monorepo-drupal/blob/develop/web/themes/co...

Actual path location is `assets/fonts/roboto/Roboto-Regular.woff` - note the difference in case in the roboto directory.

https://github.com/civictheme/monorepo-drupal/tree/develop/web/themes/co...

Previously, webpack was resolving the case difference and outputting the correct path.

Steps to reproduce

1. Build the starter-theme
2. Update the `$ct-fonts` to override primary so we can see Roboto on the website
3. rebuild assets / clear cache
4. Load Drupal and open network console
5. Roboto should now be missing from the site

Proposed resolution

1. Update the font directory at `civictheme/civictheme_starter_kit/assets/fonts/roboto` to be `civictheme/civictheme_starter_kit/assets/fonts/Roboto`

🐛 Bug report
Status

Active

Version

1.10

Component

Code

Created by

🇦🇺Australia RichardGaunt Melbourne

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

Comments & Activities

Production build 0.71.5 2024