Disable yui-compress parmeter (instead of falling back to incompatible clean-css). Fixes #1637

This commit is contained in:
Max Ruman
2013-11-05 11:49:02 +01:00
committed by Luke Page
parent 9d2b48d481
commit 7268386570

View File

@@ -109,8 +109,7 @@ args = args.filter(function (arg) {
options.depends = true;
break;
case 'yui-compress':
warningMessages += "yui-compress option has been removed. assuming clean-css.";
options.cleancss = true;
warningMessages += "yui-compress option has been removed. ignoring.";
break;
case 'clean-css':
options.cleancss = true;