You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking for a way to silence [vite] ... logs client side in dev and found logLevel under Shared Options, but it doesn't work for client-side vite logs:
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
It only works for the server-side. Is there a reason you want to apply them in the client too? For those logs you mentioned specifically, those are logged with console.debug which you can filter away from the devtools console.
Describe the bug
Looking for a way to silence
[vite] ...
logs client side in dev and foundlogLevel
under Shared Options, but it doesn't work for client-side vite logs:Results in:
Reproduction
https://stackblitz.com/edit/vitejs-vite-abxahfbz?file=vite.config.json
Steps to reproduce
Add
logLevel: 'silent'
to vite config & reload.System Info
Used Package Manager
npm
Logs
Validations
The text was updated successfully, but these errors were encountered: