Source map request causes 404 error

2019-07-15 00:09发布

问题:

After updating to Chrome 29 I have noticed that the browser try to get jquery.min.map from app root. But request before it was received from assets (small reputation don't let me post screen image for proofing).

Of course, I can switch off source maps in browser settings as at this question, but maybe there's another true way? And the difference in my case is that the source map was received from assets.

回答1:

Source maps are only loaded by Chrome when the developer tools are opened, so it shouldn't be an issue for your users.