In the process of front end development, the static js file of the server needs to be replaced locally to check whether the code is normal under different environments (development/test/release environment). In the past, the host file can be modified, and software such as fidder can be used. Grunt also seems to have this plug-in, could you tell me how to do the webpack? If the webpack cannot be reached, can gulp be used? If so, give some information ..
You can refer toantd-binInside server’s solution uses anyproxy proxy server to handle file mapping.