Browse Source

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

fix uglify TypeError
Torkel Ödegaard 11 năm trước cách đây
mục cha
commit
390589fae2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 %>'
       }