Skip to content

Instantly share code, notes, and snippets.

@allanphilipbarku
Forked from crittermike/disable_aggregation.md
Created December 20, 2019 00:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save allanphilipbarku/b63fa4dbe1c06b868d5cc483f980b6d9 to your computer and use it in GitHub Desktop.
Save allanphilipbarku/b63fa4dbe1c06b868d5cc483f980b6d9 to your computer and use it in GitHub Desktop.
Disabling CSS/JS aggregation via Drush in Drupal 7 and Drupal 8

Drupal 7

drush vset preprocess_css 0 --yes
drush vset preprocess_js 0 --yes

Drupal 8

drush -y config-set system.performance css.preprocess 0
drush -y config-set system.performance js.preprocess 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment