+1 vote
by
I understand that the library does not need .the map file needs it for debugging,but I would get rid of the errors in the file downloads, how to make sure that the library is not required to download it?

2 Answers

0 votes
by
 
Best answer
I found the answer in the library
Every library generiruyutsya comment due to which he inquires .map files.

//# sourceMappingURL=jquery.min.map;

By removing them you can get rid of unnecessary requests)
0 votes
by
You need to collect different builds of the project for development and production environments. For dev maps generated. Production of kill them. Cm. in the direction of gulp / webpack.

PS And even better to use a webpack config:
devtool: isDevBuild && '#eval'
The project is going much faster than when using cards.
by
Talking about jQuery from npm?
by
I'm not allowed in production, I require all gathers, at the same time .map files are not present and the script requires. Can I napisti task is ready(gulp) to solve this problem, I will be glad)
...