diff --git a/index.js b/index.js index bc228bf..9ccc552 100644 --- a/index.js +++ b/index.js @@ -9,6 +9,7 @@ var uglifyify = require('uglifyify') function makeUglifyOptions (debug) { var uglifyOpts = { + uglify: require('uglify-es'), output: { ascii_only: true }, diff --git a/package.json b/package.json index 2f6aeb2..b020fe6 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "common-shakeify": "^0.4.6", "envify": "^4.1.0", "minify-stream": "^1.1.0", + "uglify-es": "^3.3.9", "uglifyify": "^5.0.0", "unassertify": "^2.1.1" },