How to debug why MS Edge/IE11 does not load sourcemap

后端 未结 1 1810
终归单人心
终归单人心 2021-01-11 10:27

I made some source+map concatenation and result works in Firefox and Chrome, but does not even request bundle.js.map from webserver in MS Edge and IE11.

Actual JS fi

相关标签:
1条回答
  • 2021-01-11 10:49

    Microsoft Edge expects a single sourcemap comment, located at the end of the file. Your file contains two comments, which appears to cause the issue. Remove all but the final comment, and this should resolve the issue for you.

    I will file a ticket to track this issue, but it's unlikely we will modify our implementation to accommodate a non-standard use of sourcemap comments. Thank you for bringing this to our attention though. We'll keep watch to see if this affects other users.

    0 讨论(0)
提交回复
热议问题