Skip to content

Commit

Permalink
build: Fix uglify settings in build
Browse files Browse the repository at this point in the history
Uglify was configured to mangle/compress in debug mode and beautify in
production mode. This should be reversed.
  • Loading branch information
joshuacurtiss committed Jun 23, 2024
1 parent d7dab5e commit a843f02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ module.exports = function(grunt) {
banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> <%= versionInfo %> */\n',
sourceMap: DEBUG,
sourceMapIncludeSources: DEBUG,
mangle: DEBUG,
compress: DEBUG,
beautify: !DEBUG,
mangle: !DEBUG,
compress: !DEBUG,
beautify: DEBUG,
},
},
},
Expand Down

0 comments on commit a843f02

Please sign in to comment.