move clean css back to fix minification on TS

pull/2368/head^2
John McLear 2014-12-21 23:42:56 +00:00
parent 4573796166
commit ee3f3b8060
2 changed files with 3 additions and 4 deletions

View File

@ -23,7 +23,7 @@ var ERR = require("async-stacktrace");
var settings = require('./Settings');
var async = require('async');
var fs = require('fs');
var CleanCSS = require('clean-css');
var cleanCSS = require('clean-css');
var jsp = require("uglify-js").parser;
var pro = require("uglify-js").uglify;
var path = require('path');
@ -411,8 +411,7 @@ function compressJS(values)
function compressCSS(values)
{
var complete = values.join("\n");
var cleanCSS = new CleanCSS({}).minify(complete);
return cleanCSS;
return cleanCSS.process(complete);
}
exports.minify = minify;

View File

@ -20,7 +20,7 @@
"express" : ">3.1.0 <3.9.0",
"async" : ">=0.9.0",
"connect" : "2.7.x",
"clean-css" : ">=2.0.0",
"clean-css" : "0.3.2",
"uglify-js" : ">=2.4.15",
"formidable" : ">=1.0.15",
"log4js" : ">=0.6.21",