How to prevent Firefox DevTools from showing “Source Map not found” errors?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-05 06:02:06

You can disable source maps globally by going into the Toolbox Options of the Developper Tools and unchecking Enable Source Maps.

You can also provide an empty source map for some specific JavaScript files. Use a local copy of the files (at least during development) and modify the source maps directive:

//# sourceMappingURL=http://example.com/path/to/your/sourcemap.map

by pointing to an empty source map file. You can also just remove the source map directive from the file.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!