Whenever I run upgrade command in Magento 2, some of my CSS and JS and Images files deleted automatically, sometimes deleted from third party modules, and sometimes deleted from magento vendor folder.
Please guide me!
It was the issue in my third party module, after disable the modules, and running commands, my issue was fixed. The commands which I run after disabling module was:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush
generated,var,pub. It won't do any thing with file invendoror 3rd modules