Giter VIP home page Giter VIP logo

Comments (8)

Lruihao avatar Lruihao commented on May 26, 2024 1

已处理,Preview

from fixit.

Lruihao avatar Lruihao commented on May 26, 2024

你好,可以提供一下控制台报错的截图吗

from fixit.

Lruihao avatar Lruihao commented on May 26, 2024

我知道你说的是什么了:
image
这个是不蒜子统计的问题,你可以把不蒜子关掉 @selfhostportal

  [params.ibruce]
    enable = false

至于下面哪行警告暂时不知道是什么原因,待排查...

from fixit.

selfhostportal avatar selfhostportal commented on May 26, 2024

不是不蒜子统计的问题,我说的就是警告哪行,FireFox倒是没有。
我网上搜索了一下所示编译过程的中间产物,但我对前端不了解。
我也不明白是什么组件会请求这个?

from fixit.

Lruihao avatar Lruihao commented on May 26, 2024

不是不蒜子统计的问题,我说的就是警告哪行,FireFox倒是没有。

我网上搜索了一下所示编译过程的中间产物,但我对前端不了解。

我也不明白是什么组件会请求这个?

如果用 cdn 没有问题的话,我猜大概是引用了其他插件的压缩文件,但是没有引用其 map 文件导致的,有空我再仔细研究一下。

from fixit.

Lruihao avatar Lruihao commented on May 26, 2024

http://www.ruanyifeng.com/blog/2013/01/javascript_source_map.html

from fixit.

selfhostportal avatar selfhostportal commented on May 26, 2024

关闭了启用CSS源代码映射就没有警告了。
关闭了启用JavaScript源代码映射,还是显示告警。
一开始我以为是JavaScript的锅,想不到是CSS文件的。
那么问题来了,怎么知道是哪一个CSS文件源代码没有生成映射?
以及怎么修改对应映射路径文件呢?老是请求到https://xx.xx/sm/xxxx.map路径.
虽然可以创建对应目录下的空白文件来应付请求404的错误,但是没有根本解决问题。

from fixit.

Lruihao avatar Lruihao commented on May 26, 2024

关闭了启用CSS源代码映射就没有警告了。

关闭了启用JavaScript源代码映射,还是显示告警。

一开始我以为是JavaScript的锅,想不到是CSS文件的。

那么问题来了,怎么知道是哪一个CSS文件源代码没有生成映射?

以及怎么修改对应映射路径文件呢?老是请求到https://xx.xx/sm/xxxx.map路径.

虽然可以创建对应目录下的空白文件来应付请求404的错误,但是没有根本解决问题。

我觉得作为依赖插件,本主题不需要debug他们的代码,所以我打算引用没有map的压缩文件,使用主题的用户则无需手动处理。

from fixit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.