Run these commands from your Magento 2 root directory to disable CSS merging:
|
1 2 3 |
php bin/magento config:set dev/css/merge_css_files 0 php bin/magento cache:clean php bin/magento cache:flush |
To enable CSS merging again, run the following commands:
|
1 2 3 |
php bin/magento config:set dev/css/merge_css_files 1 php bin/magento cache:clean php bin/magento cache:flush |
This method works with Magento 2.2 and later.
Disabling or enabling CSS merging
Need help implementing this solution, or still looking for a fix to your Magento problem? Get in touch and I will be happy to help with your project.