Open clocked0ne opened 9 years ago
and once comments are removed:
{"version":3,"sources":["?"]
"file":"main-c2a2dd4a.js","sourceRoot":"/source/","sourcesContent":[]}
If you have time, would love a PR!
I don't at the moment unfortunately, though I would guess that the issue is with the uglify component handling these comment blocks badly.
For example, jQuery Cookie always has the author comment block at the top of the file, even in the minified version.
When this is passed to the bundler it seems to misinterpret this and output the file as a source file instead in the source mapping:
and further down:
My temporary solution is to make a copy of the file and remove the comments, which works, but is obviously not ideal.