madskristensen / WebEssentials2013

Visual Studio extension
http://vswebessentials.com
Other
945 stars 253 forks source link

Invalid Source Maps #1789

Open toddca opened 9 years ago

toddca commented 9 years ago

Using the bundling and minify feature I cannot get the resulting map files to validate properly using http://sourcemap-validator.herokuapp.com/ Anyone have any suggestions or is there a way to replace the minification process with UglifyJs?

PlainSight commented 9 years ago

I just ran into this too. I think it's because the sources file paths include back slashes instead of forward slashes. The backslashes and following characters are interpreted as invalid escape characters by the JSON parser.

jsguy commented 9 years ago

I've also noticed this - using it to serve .less files - quite frustrating.

@madskristensen - any updates on this?