I'm running into a problem after i played around with the minfy js files option in the admin panel. I enabled the minify js option in the backend, this however started to cause problems (404 file not found). So i decided to turn this option back off in the database.
However, when i try to re-deploy my static content with the command line tool (php magento setup:static-content:deploy), it only created minfied js files. I don't know where i can change this behaviour. Is there any way i can tell the setup:static-content:deploy command to deploy the normal js files instead of the minified files?
Thanks in advance!
I have gone through the same problem. I have done same as you delete pub/static content but after re-deploying I didn't get the solutions. Again I installed fresh Magento. After some time again I face this issue but this time, I used the best approach. Hope this will work for you :
Use the following command from your magento root directory
sudo rm -rf var/di/* var/generation/* var/cache/* var/page_cache/* var/view_preprocessed/* var/composer_home/cache/*
sudo chmod 777 var -R
sudo chmod 777 pub -R
sudo php bin/magento setup:static-content:deploy
Repeat step 2 & 3.