thegitfather
2/20/2015 - 9:53 AM

Preserve License Comments

Preserve License Comments

uglify: {
      options: {
        mangle: {
          except: ['jQuery']
        },
        preserveComments: 'some',
        banner: '<%= banner %>',
        report: 'min'
      },
      my_targets: {
        files: {
        '<%= globalConfig.jsDest %>/base.min.js': ['<%= globalConfig.jsDest %>/base.js']
        }
      }
    }