Skip to content

Support onLog hook in dev #19937

@sapphi-red

Description

@sapphi-red

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions