From b4eab649287544e2654f480145fdf5db8ac3d6ee Mon Sep 17 00:00:00 2001 From: Vladimir Agafonkin Date: Fri, 11 Oct 2019 17:44:49 +0300 Subject: [PATCH] fix error with newer uglify --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0851d4f..10d5473 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "bench": "node bench/bench.js", "test": "eslint index.js compile.js test/*.js bench/bench-tiles.js bin/pbf && tap test/*.test.js && npm run build-min", "cov": "tap test/*.test.js --cov --coverage-report=html", - "build-min": "mkdirp dist && browserify index.js -s Pbf | uglifyjs -c warnings=false -m > dist/pbf.js", + "build-min": "mkdirp dist && browserify index.js -s Pbf | uglifyjs -c -m > dist/pbf.js", "build-dev": "mkdirp dist && browserify index.js -d -s Pbf > dist/pbf-dev.js", "prepublishOnly": "npm run build-dev && npm run build-min" }, @@ -56,7 +56,7 @@ "protocol-buffers": "^4.1.0", "tap": "^12.6.0", "tile-stats-runner": "^1.0.0", - "uglify-js": "^3.4.9" + "uglify-js": "^3.6.1" }, "eslintConfig": { "extends": "mourner",