video.js.map throwing a 404 (Not Found) -
playing around newest video.js today, i'm noticing video.js.map showing 404 when putting video.js script site i'm working on.
i don't see source map file in initial distribution, doesn't throw error locally, when put on server.
ideas solving?
you have few options when don't have access source map:
- ignore message. generaly gets thrown when dev tools open.
- remove reference in original file. these last characters (comments) @ end of file.
- generate source map when have access source code.
video.js
, can generatedvideo.dev.js
. - use public cdn version might not link source map.
there discussion on github topic.
Comments
Post a Comment