CSS files not present when site is deployed

Created on 1 March 2023, over 1 year ago
Updated 7 March 2023, over 1 year ago

Problem/Motivation

CSS files not present when site is deployed.
When freshly deploying a site from a repo, there is no mechanism to save the css files that are supposed to be there, as created by this module. Consequently, there are immediate 404s in the console and missing CSS.

Steps to reproduce

On (let's say) a dev setup, the module saves config files and css files.
When deployed to e.g. stage, the css files are not automatically recreated.

Proposed resolution

This patch provides a drush command for re-saving the css files, which could be used as part of a deployment.

Remaining tasks

It was noticed that it might be a better option to perform this task on cache rebuild.
Also of note: https://www.drupal.org/project/css_editor/issues/3248990 🐛 Flushing all caches seems way too aggressive Fixed

📌 Task
Status

Needs review

Version

2.0

Component

Code

Created by

🇬🇧United Kingdom niklp Nottingham

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

Comments & Activities

Production build 0.71.5 2024