mennake/minify

MinApp option for no minification based on filename

Closed this issue · 1 comments

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

In R411

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

  • Changed state: Verified