浏览代码

Merge pull request #1580 from bbinet/fix-uglify-compress-issue

fix uglify TypeError
Torkel Ödegaard 11 年之前
父节点
当前提交
390589fae2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tasks/options/uglify.js

+ 1 - 1
tasks/options/uglify.js

@@ -7,7 +7,7 @@ module.exports = function(config) {
       cwd: '<%= destDir %>',
       options: {
         quite: true,
-        compress: true,
+        compress: {},
         preserveComments: false,
         banner: '<%= meta.banner %>'
       }