Skip to content

Commit

Permalink
fix(example): remove drop_console option from uglify
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
yfr committed Jul 29, 2015
1 parent b9098d3 commit e8e1611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit e8e1611

Please sign in to comment.