How can I disable Drupal CSS aggregation?

1 Replies, 67 Views

My server is causing errors in phpmyadmin and I can’t access that.
(This post was last modified: 13-05-2024, 03:30 PM by amit.singh.557.)
Simply use drush.
Many are confusing for version 7 and 8. There are two different processes for difeerent versions.

If you have Drupal version 7 then,
drush vset preprocess_js 0

If you have Drupal version 8 then,
drush -y config-set system.performance css.preprocess 0

Those are for CSS aggregation, if you need for JS then just replace css with js.
drush -y config-set system.performance js.preprocess 0

Hope this solves :-)