Skip to content

Commit

Permalink
Merge pull request #471 from hipstersmoothie/fix-min
Browse files Browse the repository at this point in the history
fix minified build
  • Loading branch information
hipstersmoothie committed Jul 23, 2018
2 parents 7f81512 + a870d81 commit af2fcbd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion browser/lib/jimp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion browser/lib/jimp.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tools/browser-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function bundleSimple(files, config, callback) {
function minify(code) {
console.error('Compressing...');

return UglifyJS.minify(code, { warnings: false });
return UglifyJS.minify(code, { warnings: false }).code;
}

if (!module.parent) {
Expand Down

0 comments on commit af2fcbd

Please sign in to comment.