no-console-production

Lightweight, URL-based console suppression for production. Works reliably with all bundlers (webpack, Vite, Next.js). Suppress console.log in production while keeping errors visible.

Browse on unpkg