grunt-postcss
grunt-postcss copied to clipboard
Error: Failed to parse SourceMap in Chrome console
Get an error: "Failed to parse SourceMap" in Chrome console if option sourcesContent
set to true
Run grunt-postcss plugin after grunt-sass. if simple run grunt sass task SourceMap parsed correctly.
Also find this somehow related info in Stack Overflow: http://stackoverflow.com/questions/36133715/google-chrome-failed-parsing-sourcemap-css-map-web-essential
Problem is that WebEssentials saves files in UTF8 with BOM, but Chrome is not able to open these files as .map files. As a temporary fix, you can go to your .map file in Visual Studio and save it as a Unicode (UTF-8 without signature) or US-ASCII using