-
Notifications
You must be signed in to change notification settings - Fork 38
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
插件allinone 使css合并 link标签 rel 值不存在导致页面不能加载的bug #35
Comments
读的是原始 attributes ,理论上应该不需要这么检测。 |
请尝试下这个修改,是否解决问题,麻烦:7d66544 |
哥哥这个没用,我来给你分析一下。 |
@noonhorse 你确定你试了?为何我这是好的? before: <link rel="stylesheet" type="text/css" href="jquery-ui/themes/base/core.css" />
<link rel="stylesheet" type="text/css" href="jquery-ui/themes/base/tabs.css" />
<link rel="stylesheet" type="text/css" href="jquery-ui/themes/base/datepicker.css" />
<link rel="stylesheet" type="text/css" href="jquery-ui/themes/base/theme.css" />
<link rel="stylesheet" type="text/css" href="./style.css" /> after: <link rel="stylesheet" type="text/css" href="/pkg/index.html_aio.css" /> |
你说得对,那个修改确实是没用的,改的是内嵌 css 部分的 attributes, 但是,出现你这个情况的起因还没有分析出来。 |
问题定位到了,是 pack 的逻辑有问题,已经修复了,请更新 |
fis-conf.js 中的写法
为执行loader allInOne的代码
压缩后错误代码,缺少 rel="stylesheet"
修改方法将 插件
lib/lang/html.js 第284 行修改为如下代码
The text was updated successfully, but these errors were encountered: