Skip to content

Commit

Permalink
Upgrade UglifyJS to address issues (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
robbytx authored and aterranova-bv committed Apr 26, 2017
1 parent a32e7f0 commit c112ab3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/generateFileFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var util = require('util');
var async = require('async');
var fs = require('fs-extra');
var concat = require('concat-files');
var uglifyJs2 = require('uglify-js2');
var uglifyJs = require('uglify-js');
var zlib = require('zlib');

// Local.
Expand Down Expand Up @@ -74,7 +74,7 @@ module.exports = function (sourceDir, targetDir, namespaceName, uglify, log, com
return asyncCallback();
}

result = uglifyJs2.minify(contents, {
result = uglifyJs.minify(contents, {
compress: {
sequences: true,
dead_code: true,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"semver": "5.1.0",
"sinon": "1.17.3",
"source-map": "0.5.3",
"uglify-js2": "2.1.11",
"uglify-js": "2.8.22",
"webpack": "1.12.14",
"webpack-dev-server": "1.14.1"
},
Expand Down

0 comments on commit c112ab3

Please sign in to comment.