CSS/JS Aggregation in Drupal

When you're doing development, most of the time, you don't want to minify css/js. Here's how you the respective settings:

settings.local.php (drupal 7)

1$conf['preprocess_css'] = FALSE;
2$conf['preprocess_js'] = FALSE;

settings.local.php (drupal 8 & 9)

1$config['system.performance']['css']['preprocess'] = FALSE;
2$config['system.performance']['js']['preprocess'] = FALSE;

drush (drupal 7)

1drush vset preprocess_js 0 --yes
2drush vset preprocess_css 0 --yes

drush (drupal 8 & 9)

1drush -y config-set system.performance css.preprocess 0
2drush -y config-set system.performance js.preprocess 0

See https://drupal.stackexchange.com/questions/221268/how-to-disable-aggregation-from-either-drush-or-phpmyadmin

...and https://www.drupal.org/node/1525472 for settings in drupal 7