资源说明:A node.js based command-line utility to compress the CSS in a given directory
Small CSS This is a work in progress, may or may not work as described!!! A simple CSS compressor to use for readying your CSS files for production. It's used through the command line by calling smallCSS {directoryName}. It will compress all the CSS in the directory, so you'll want to make a copy of your CSS before you run the compressor. Otherwise, it will over-write your original files. It forces the @imports based on the URL location, and crawls the directory to find all CSS files in there. It will compress everything it finds mercilessly, so plan ahead. A couple other notes - It doesn't hash image URL's yet, so make sure that your image URL's are relative to the directory the CSS file is in, and if necessary make copies of the images in the base directory. You can then call a single CSS file, which will be pleasantly compressed and produce only one HTTP call. Fantastic.
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。