jQuery's jquery-1.10.2.min.map is triggering a 404 (Not Found)

前端 未结 11 1677
后悔当初
后悔当初 2020-11-22 08:34

I\'m seeing error messages about a file, min.map, being not found:

GET jQuery\'s jquery-1.10.2.min.map is triggering a 404 (Not Found)

<
11条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-22 08:46

    As I understand the browser, Chrome at least, it doesn't disable the source mapping by default. That means your application's users will trigger this source-mapping request by default.

    You can remove the source mapping by deleting the //@ sourceMappingURL=jquery.min.map from your JavaScript file.

提交回复
热议问题