From ae9b91d77e79b49265d33f5a1d37a8ea32db1a9a Mon Sep 17 00:00:00 2001 From: Dyllan To Date: Thu, 18 Jan 2018 22:26:55 -0500 Subject: [PATCH] Fix deps One of the packages relies on a package, 'hex-rgb'. This package uses ES6 functionality, however uglify does not support ES6. I'd expect babelify to do something about this but... -shrugs- Easiest fix that probably doesn't break anything; change the package from 'uglify-js' to 'uglify-es', which is made by the same author but supports ES6 expressions. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 324d4e8..730048f 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "browserify": "^13.0.1", "budo": "^8.2.2", "surge": "^0.18.0", - "uglify-js": "^2.6.2" + "uglify-es": "^3" }, "scripts": { "test": "node test.js",