Skip to content

Commit

Permalink
Replaces uglify-es with terser
Browse files Browse the repository at this point in the history
Signed-off-by: Philipp <p.koenig@blockbyte.de>
  • Loading branch information
Philipp committed Oct 3, 2018
1 parent 5371898 commit f5e4868
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build/_func.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
createFile: require("create-file"),
minifyHtml: require("html-minifier").minify,
minifyJson: require("jsonminify"),
uglifyjs: require("uglify-es"),
terser: require("terser"),
sass: require("node-sass"),
copy: require("cp-file"),
request: require("request"),
Expand Down Expand Up @@ -301,7 +301,7 @@
break;
}
case "js": {
const result = module.uglifyjs.minify(content, {
const result = module.terser.minify(content, {
output: {
preamble: "/*! (c) " + process.env.npm_package_author_name + " under " + process.env.npm_package_license + " */"
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"npm-check-updates": "^2.14.2",
"read-file": "^0.2.0",
"request": "^2.88.0",
"uglify-es": "^3.3.10",
"terser": "^3.9.2",
"zip-dir": "^1.0.2"
}
}

0 comments on commit f5e4868

Please sign in to comment.