I have a .min.js file in the static resources. This file is used in a VF page. I made changes to this file and deployed the .js file from my vscode to the org. This made the functionality not work anymore. The .js file isn't even loading. I zipped the folder that contained the .js and upload the zip file again to the static resource that originally contained the file. It still doesn't load the .js file.
What is the solution? Why am I getting the 404 ERROR. It says it can't find the JS file.
I think your VF page is looking for the minified version of the .js file. When you updated the .js file, is it still minified or not? If not, you can also try updating the static .js file imported in the VF page from .min.js to .js.
Example,
In your case, in VF page, static .js file referenced could be something like:
<apex:includeScript value="{!URLFOR($Resource.staticResourceFolder, 'example.min.js')}"/>
Change it to:
<apex:includeScript value="{!URLFOR($Resource.staticResourceFolder, 'example.js')}"/>