From e8e16112d2d0f47f7ddc005dd485a25f7d55e4e7 Mon Sep 17 00:00:00 2001 From: Frank Mecklenburg Ubilabs Date: Wed, 29 Jul 2015 12:14:49 +0200 Subject: [PATCH] fix(example): remove drop_console option from uglify On the example page is a hint to look in the console to see results of the suggestion selection. Removing all `console.log` statement makes no sense here. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6f0d5505..9ce72ec5 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "copy:assets": "cp example/src/*.html example/dist && cp example/src/*.svg example/dist", "css": "cat example/src/app.css src/geosuggest.css > example/dist/app.css", "js:example": "browserify example/src/app.js -t babelify --extension=.jsx> example/dist/app.js", - "js:example:uglify": "uglifyjs example/dist/app.js -o example/dist/app.js -c warnings=false,drop_console=true --mangle", + "js:example:uglify": "uglifyjs example/dist/app.js -o example/dist/app.js -c warnings=false --mangle", "js:browser": "browserify src/Geosuggest.jsx --standalone Geosuggest --exclude react -t babelify --extension=.jsx > dist/react-geosuggest.js", "js:browser:uglify": "uglifyjs dist/react-geosuggest.js -o dist/react-geosuggest.min.js -c warnings=false,drop_console=true --mangle", "build:module": "babel src --out-dir module",