Item2041: Extend BuildContrib's compress target
Priority: Enhancement
Current State: Closed
Released In:
Target Release: n/a
BuildContrib's compress target minifies xxx_src.js to xxx.js if xxx_src.js exists and xxx.js is in the MANIFEST. There is similar logic for .css files.
Some plugins (e.g.
NatEditPlugin) have xxx.uncompressed.js instead of xxx_src.js.
Others (like
FirebugLitePlugin and
TWikiAjaxContrib) have xxx-compressed.js or xxx.compressed.js. There are similar patterns for .css files.
Additionally, some plugins have gzipped versions of .js and .css files.
BuildContrib should
- support all of the variations above for minifying .js and .css files.
- support gzipping files.
- apply "compress" filters in the correct order, so that .js and .css is minified before being gzipped.
--
MichaelTempest - 12 Sep 2009
I did (1) under the auspices of
Item8272.
--
CrawfordCurrie - 13 Sep 2009