Add PSR-4 autoloading for Drupal themes to preload script

Created on 9 May 2022, over 2 years ago
Updated 1 May 2023, over 1 year ago

Following on from https://www.drupal.org/project/preloader/issues/3160022 β†’

My custom theme has code in the src folder. The files are picked up & added to the $files list, but because the theme hasn't been added to the PSR-4 loader, it causes errors during preloading because included files can't be found or available.

Patch incoming will also add themes to the preload script. It may be better if this was a setting?

πŸ“Œ Task
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom smaz England, UK

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024