evanw/source-map-visualization

Doesn't like base64 encoded inline sourceMaps

bmeck opened this issue · 2 comments

bmeck commented

Seems to always assume it is plaintext

evanw commented

It seems to work for me:

var x = 1 + 2;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhhbXBsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImV4YW1wbGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsSUFBSSxDQUFDLEdBQVUsQ0FBQyxHQUFDLENBQUMsQ0FBQSIsInNvdXJjZXNDb250ZW50IjpbImxldCB4Om51bWJlciA9IDErMlxuIl19

Do you have an example that doesn't work?

evanw commented

Closing because this is unactionable. Feel free to provide more information if it's available.