Production builds should not expose debug info in browser console
Debug info should appear in browser console only in development mode.
So instead ...
console.log()
logging should be done conditionally:
DEV && console.log()
Note that DEV
is defined automatically. It is true
when running in Webpack dev mode.
Both the platform and plugins are affected.