用于压缩 javascript 和缩小图像的 Windows 程序
我刚刚遇到这个 Mac/Apple 程序
http://incident57.com/codekit/
简而言之,它将
- .LESS、.SASS、.SCSS 文件编译为纯 CSS 文件
- 缩小 Javascript 文件
- 优化图像
全部在一个程序中,这对于构建脚本之类的东西来说非常有用。
我正在寻找一个可以在 Windows 上运行的程序,它可以执行类似的操作,最好是用于命令行的程序,这样我就可以使用构建脚本来自动化它。
你听说过什么吗?
I just came accross this program for Mac/Apple
http://incident57.com/codekit/
In short, it will
- compile .LESS, .SASS, .SCSS files into pure CSS files
- Minify Javascript files
- Optimize images
All in one program, this is great for something like a build script to use.
I am looking for a program that will run on Windows that will do stuff like this, preferably one for command line use so I can use a build script to automate it.
Have you heard of anything?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您的网站使用 .net,您可以尝试 RequestReduce。目前,它在运行时动态执行此操作(使用缓存)。目前还没有设置在构建时执行此操作。它最小化并结合CSS和JS,编译Sass/Less和Coffee脚本,并对CSS背景图像进行精灵和优化。对于 sass/less/coffee,请参阅 RequestReduce.SassLessCoffee 包。有计划提供构建时选项,但运行时的优点是能够处理动态生成的资源,例如另一台主机上的 WebResources 和 ScriptResources 或脚本。请访问 http://www.RequestReduce.com 了解更多信息。
If your website uses .net you might try RequestReduce. Currently it does this on the fly at runtime (using caching). Its currently not setup to do this at build time. It minimizes and combines CSS and JS, compiles Sass/Less and Coffee script and it sprites and optimizes css background images. For the sass/less/coffee see the RequestReduce.SassLessCoffee package. There are plans to provide a build time option but the advantage of runtime is the ability to process resources dynamically generated like WebResources and ScriptResources or Scripts on another host. Check out http://www.RequestReduce.com for more info.