1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-20 12:51:52 +02:00

Minify no longer tries to minify -min.js/.min.js files

2.2 used empty string as a magical value meaning do not minify, but
in the refactoring `Minify::combineMinify` forgot to interpret this
value that way and instead inherited the default compressor for the type.

This eliminates `""` as a magical value, but for BC rewrites it to
`Minify::nullMinifier` in the sources.

Fixes #499
This commit is contained in:
Steve Clay
2016-02-26 11:16:16 -05:00
parent 0b466c0892
commit 7dbd2c87e4
8 changed files with 31 additions and 10 deletions

View File

@@ -190,7 +190,7 @@ class Minify_Controller_MinApp extends Minify_Controller_Base {
,'lastModified' => 0
// due to caching, filename is unreliable.
,'content' => "/* Minify: at least one missing file. See " . Minify::URL_DEBUG . " */\n"
,'minifier' => ''
,'minifier' => 'Minify::nullMinifier'
)));
}