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

前端 未结 11 1496
后悔当初
后悔当初 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 09:06

    I was presented with the same issue. The cause for me was Grunt concatenating my JavaScript file.

    I was using a ;\n as a separator which caused the path to the source map to 404.

    So dev tools was looking for jquery.min.map; instead of jquery.min.map.

    I know that isn't the answer to the original question, but I am sure there are others out there with a similar Grunt configuration.

提交回复
热议问题