diff --git a/gulpfile.babel.js b/gulpfile.babel.js index 298b5ff..298cb50 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -14,7 +14,7 @@ import yaml from 'js-yaml' import request from 'request' // required to get our mix of old and ES6+ js to work with ugify-js 3 -import uglifyjs from 'uglify-js' +import uglifyjs from 'uglify-es' import composer from 'gulp-uglify/composer' const minify = composer(uglifyjs, console) const cp = require('child_process') diff --git a/package.json b/package.json index c767fbf..c1863fd 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "stylelint": "^9.1.3", "stylelint-config-bigchaindb": "^1.2.1", "stylelint-config-standard": "^18.2.0", - "uglify-js": "^3.3.16" + "uglify-es": "^3.3.9" }, "engines": { "node": ">=7.0.0"