Explorar o código

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

fix uglify TypeError
Torkel Ödegaard %!s(int64=10) %!d(string=hai) anos
pai
achega
390589fae2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tasks/options/uglify.js

+ 1 - 1
tasks/options/uglify.js

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