ccforward / progressive-image

A progressive-image module for Vanilla JavaScript and Vue 1.0+ & 2.0+
https://ccforward.github.io/progressive-image/index.html
MIT License
377 stars 43 forks source link

How to remove console output? #7

Open hackuun opened 7 years ago

hackuun commented 7 years ago

Hello. Thanks for the package! I want to know what is the way to remove console log output? Not really nice to put this in production.

LY0528 commented 7 years ago

This question also bothers me.I can only find the console log in the node_modules / progressive-image / dist / vue.js file and delete it, but this method is only a temporary solution to this problem.

tsulli commented 5 years ago

If you're using Chrome, try adding -img.preview to your console filter. You'll still see the "scroll" logs, but it clears enough clutter you can at least see the rest of what's in your console.