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 Jul 25, 2024
1 parent 4604ea1 commit 68006bc
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 68006bc

Please sign in to comment.