do you use vite?
I use https://www.npmjs.com/package/vite-plugin-remove-console
// https://vitejs.dev/config/ export default defineConfig({ plugins: [vue(), removeConsole()] });