wimleers / fileconveyor

File Conveyor is a daemon written in Python to detect, process and sync files. In particular, it's designed to sync files to CDNs. Amazon S3 and Rackspace Cloud Files, as well as any Origin Pull or (S)FTP Push CDN, are supported. Originally written for my bachelor thesis at Hasselt University in Belgium.
https://wimleers.com/fileconveyor
The Unlicense
340 stars 95 forks source link

The order in which CSS files are processed prevents them from being minified #92

Open j0rd opened 12 years ago

j0rd commented 12 years ago

The link_updater.CSSURLUpdater processor outputs the CSS non-minified in the latest version. This is the order of which things run in the config.sample.xml, thus by default files are not minified.

There are two ways to resolve this.

  1. Have YUICompressor or Google Closure Compiler run after link_update.CSSURLUpdater
  2. Change link_update.CSSUrlUpdated to use --minify via it's arguments. Remove both YUICompressor and Google Closure Compiler if you are going to use this instead.