Chrome无法加载CSS源地图? [英] Chrome not loading CSS source maps?
问题描述
i.stack.imgur.com/q6mtd.pngalt =
这些CSS文件底部有一个源映射标记:
/ p> / *#sourceMappingURL = Home.cshtml.css.map * /
但是Network选项卡和Fiddler2显示Chrome甚至没有尝试加载源映射文件。
有什么我失踪了? sourceMappingURL
语法是否正确?我已打开和关闭启用CSS源地图设置。
Chrome版本:44.0.2403.30 beta-m
由VS 2013中的Web Essentials生成的源代码文件。
> 您可以尝试以下步骤:
<1->删除地图文件并重新生成。
<使用铬检查器,进入设置>常规,然后点击按钮恢复默认值并重新加载。
Until recently, my Chrome browser was loading CSS source map files correctly. Now, it is not.
The setting is on:
And the CSS files have a source mapping tag at the bottom:
/*# sourceMappingURL=Home.cshtml.css.map */
But the Network tab and Fiddler2 show that Chrome is not even trying to load the source map file.
Is there something that I'm missing? Is the sourceMappingURL
syntax correct? I've toggled the "Enable CSS source maps" setting on and off.
Chrome version: 44.0.2403.30 beta-m
Sourcemap files generated by Web Essentials in VS 2013.
You can try the following steps:
1- delete the map file and regenerate it again.
2- Using the chrome inspector, go to Settings > General and then click on the button "Restore defaults and reload"
这篇关于Chrome无法加载CSS源地图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!