ericmckean / minify

Automatically exported from code.google.com/p/minify
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

MinApp option for no minification based on filename #141

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Frequently users have files that are already minified, and to leave these 
files unaltered is a common and valid request. An example is in this hack:
http://groups.google.com/group/minify/msg/c6084bf3234af836

I'm imagining a new MinApp option 'noMinPattern' with default:
'@[-\\.]min\\.(?:js|css)$@i'

If preg_match(pattern, basename(file)) 
   then $spec['minifier'] = ''

Original issue reported on code.google.com by mrclay....@gmail.com on 28 Sep 2009 at 10:20

GoogleCodeExporter commented 9 years ago
In R411

Original comment by mrclay....@gmail.com on 9 May 2010 at 4:48