diff --git a/node/utils/Minify.js b/node/utils/Minify.js index d9623d7e5..98774d195 100644 --- a/node/utils/Minify.js +++ b/node/utils/Minify.js @@ -326,6 +326,7 @@ function compressJS(values) var complete = values.join("\n"); var ast = jsp.parse(complete); // parse code and get the initial AST ast = pro.ast_mangle(ast); // get a new AST with mangled names + ast = pro.ast_squeeze(ast); // get an AST with compression optimizations return pro.gen_code(ast); // compressed code here } diff --git a/package.json b/package.json index ec6936975..d91725d53 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "async" : "0.1.15", "express" : "2.5.0", "clean-css" : "0.2.4", - "uglify-js" : "1.1.1", + "uglify-js" : "1.2.5", "formidable" : "1.0.7", "log4js" : "0.4.1", "jsdom-nocontextifiy" : "0.2.10",