Disable CSS & JS aggregation in development environment

NOTE: Remember to comment out these lines when debugging CSS/JS behavior that's
seemingly different on live versus local!
This commit is contained in:
benjamin melançon 2019-07-28 22:54:46 -04:00
parent a791623de2
commit 0a1b04dfe3

View file

@ -68,3 +68,6 @@ if (empty($config_directories[CONFIG_SYNC_DIRECTORY])) {
if (file_exists($app_root . '/' . $site_path . '/services.yml')) { if (file_exists($app_root . '/' . $site_path . '/services.yml')) {
$settings['container_yamls'][] = $app_root . '/' . $site_path . '/services.yml'; $settings['container_yamls'][] = $app_root . '/' . $site_path . '/services.yml';
} }
$config['system.performance']['css']['preprocess'] = FALSE;
$config['system.performance']['js']['preprocess'] = FALSE;