Skip to content
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

fix: allow onwarn to override vite default warning handling #12757

Merged
merged 1 commit into from
Apr 6, 2023

Conversation

patak-dev
Copy link
Member

Closes #12425

Description

Currently, the user can't override Vite's warning handling. This PR implements an idea by @antfu. We can close #12425 as the user will be able to have their own warning message for CIRCULAR_DEPENDENCY


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
@stackblitz
Copy link

stackblitz bot commented Apr 5, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link
Member

@bluwy bluwy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sense to me!

@bluwy bluwy added the p2-nice-to-have Not breaking anything but nice to have (priority) label Apr 6, 2023
@patak-dev patak-dev merged commit f736930 into main Apr 6, 2023
@patak-dev patak-dev deleted the fix/allow-to-override-onwarn branch April 6, 2023 05:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p2-nice-to-have Not breaking anything but nice to have (priority)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants