1 个仓库
Utilities designed to optimize the delivery and performance of stylesheets.
Distinct from Node.js CPU Optimizations: Candidates are unrelated Node.js runtime optimizations or JS transpilers; this is specifically for CSS optimization within a Node.js environment.
Explore 1 awesome GitHub repository matching web development · CSS Optimization Tools. Refine with filters or upvote what's useful.
Clean-CSS 是一个 Node.js CSS 优化器和压缩器,旨在减小样式表文件大小并提高 Web 性能。它作为一个 CSS 后处理器,从样式表中删除不必要的空格、注释和冗余属性。 该项目利用抽象语法树进行解析,并使用多遍优化流水线来重构规则并简化属性。它具有用于自定义样式转换的插件接口,并提供兼容性感知压缩,以确保样式在特定的旧版浏览器版本中保持功能正常。 其他功能包括用于调试的源映射生成、用于重定位图像和字体的资产 URL 重置,以及内联导入语句的解析。该系统支持批量文件处理,并提供用于在前端构建流水线中自动化优化任务的命令行界面。
Offers a high-performance CSS optimizer specifically built for the Node.js environment.