Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在某些情况下会出现加载map文件加载不到的问题 #29

Open
T-baby opened this issue Mar 12, 2016 · 4 comments
Open

在某些情况下会出现加载map文件加载不到的问题 #29

T-baby opened this issue Mar 12, 2016 · 4 comments

Comments

@T-baby
Copy link

T-baby commented Mar 12, 2016

有很少的用户反馈说打开我们的网页是空白,我们也找过一个用户看了下。。发现是自动加载了map文件。。一般是什么原因呢

@oxUnd
Copy link
Contributor

oxUnd commented Mar 28, 2016

能在详细一点吗?

@T-baby
Copy link
Author

T-baby commented Mar 29, 2016

比如jquery.js,会加载jquery.map

@oxUnd
Copy link
Contributor

oxUnd commented Mar 29, 2016

@T-baby

不应该啊,这个文件理论上应该是打开了开发面板(chrome)才会加载。

不过出现这种情况,一般两个情况

  • 你本来用的jquery 中就有加载 map 的指令
  • 你开启了 uglifyjs 的 source-map 功能

具体你自己排查一下吧。

@T-baby
Copy link
Author

T-baby commented Mar 29, 2016

谢谢撒

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants