Chrome无法加载CSS源地图? [英] Chrome not loading CSS source maps?

查看:146
本文介绍了Chrome无法加载CSS源地图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

直到最近,我的Chrome浏览器正在正确加载CSS源代码地图文件。



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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆