Skip to content

Support onLog hook in dev #19937

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
4 tasks done
sapphi-red opened this issue Apr 25, 2025 · 0 comments
Open
4 tasks done

Support onLog hook in dev #19937

sapphi-red opened this issue Apr 25, 2025 · 0 comments
Labels
feat: dev dev server p2-nice-to-have Not breaking anything but nice to have (priority) rollup plugin compat

Comments

@sapphi-red
Copy link
Member

sapphi-red commented Apr 25, 2025

Description

Currently onLog hook is not supported in dev.
Having this hook would make it more easier to filter warning out or changing the severity of some logs.

Reproduction: https://stackblitz.com/edit/vitejs-vite-yug7cnb3?file=vite.config.js&terminal=dev

Suggested solution

Implement them.

Alternative

No response

Additional context

No response

Validations

@sapphi-red sapphi-red added feat: dev dev server p2-nice-to-have Not breaking anything but nice to have (priority) rollup plugin compat labels Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat: dev dev server p2-nice-to-have Not breaking anything but nice to have (priority) rollup plugin compat
Projects
None yet
Development

No branches or pull requests

1 participant