How to drop console statements in production

  • Hello,

    I’m trying to find a way to remove all console.log statements from my production build.

    On a previous version of quasar I had updated the webpack configuration for UglifyJsPlugin to drop console statements with drop_console: true.

    What approach are folks talking with the latest version in terms of managing logging in production (i.e. dropping debug or just doing another way).