How to debug why MS Edge / IE11 does not load the source card

I did some source + map concatenation, and the result works in Firefox and Chrome, but doesn't even request bundle.js.map from a web server in MS Edge and IE11.

The actual JS file is served from http: // localhost: 8080 / bundle.js

bundle.js ends with the line:

//# sourceMappingURL=bundle.js.map 

I tried and ended it with a new line and without, in both cases it does not work. Is there any checklist to view or even some kind of "validator"?

+7
microsoft-edge source-maps
source share
1 answer

Microsoft Edge expects one comment on the source map, located at the end of the file. Your file contains two comments that appear to be causing the problem. Remove everything except the last comment and this should fix the problem for you.

I will write a ticket to track this problem, but we are unlikely to change our implementation to accommodate the non-standard use of sourcemap comments. Thank you for bringing this to our attention. We will monitor whether this affects other users.

+3
source share

All Articles