css-gather:从页面获取所有CSS文件,并将其CSS转储到stdout

时间:2021-04-14 14:16:47
【文件属性】:
文件名称:css-gather:从页面获取所有CSS文件,并将其CSS转储到stdout
文件大小:11KB
文件格式:ZIP
更新时间:2021-04-14 14:16:47
Ruby css-gather 使用关键CSS的有用工具 css-gather 从页面获取所有CSS文件,并将其CSS转储到stdout。 关键的css.js 使用从通过`stdin`传递CSS中提取关键CSS。 运行 使用`css-gather`和`critical-css.js`生成URL的关键CSS。 用法 cd到此仓库的克隆 提取依赖项 gem install bundler bundle install npm install 将URL传递给run.sh为其生成关键CSS: ./run.sh https://www.ifixit.com
【文件预览】:
css-gather-main
----Gemfile(200B)
----run.sh(177B)
----LICENSE(1KB)
----css-gather(675B)
----README.md(668B)
----critical-css.js(688B)
----Gemfile.lock(240B)
----.gitignore(13B)
----package-lock.json(40KB)
----package.json(559B)

网友评论