Is it okay to delete *.min.js.map while minifying the js files?

1.1k Views Asked by At

I am using WEB ESSENTILS extension of Visual Studio for minification of JS files. After minifying the js file I am getting a .map extension file linked with the minified version of that js file. So the size of .min.js + .map > .js file. So I am thinking to remove all the .map files to reduce the size. I am worried if it causes any problem in production. Please suggest!

My Analysis : I have went through lot of stuff on web and got to know that .map file will only be used for debugging minified files. But I saw people posting questions like :

  • .map not found error (404)
  • and many more.

So need your suggestion on this.

0

There are 0 best solutions below