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

refactor(vite): reduce some branch condition judgments #17552

Closed
wants to merge 2 commits into from

Conversation

Simon-He95
Copy link
Contributor

Description

Copy link

stackblitz bot commented Jun 23, 2024

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

@Simon-He95 Simon-He95 changed the title Refactor refactor(vite): plugins refactor Jun 23, 2024
@Simon-He95 Simon-He95 marked this pull request as draft June 23, 2024 15:56
@Simon-He95 Simon-He95 marked this pull request as ready for review June 23, 2024 16:11
@Simon-He95 Simon-He95 changed the title refactor(vite): plugins refactor refactor(vite): Reduce some branch condition judgments Jun 23, 2024
@Simon-He95 Simon-He95 changed the title refactor(vite): Reduce some branch condition judgments refactor(vite): reduce some branch condition judgments Jun 23, 2024
@bluwy
Copy link
Member

bluwy commented Jun 24, 2024

I think the previous code is also readable with not a lot of performance gain. I appreciate that you're sending these refactors recently, but we don't always accept these kind of changes unless they bring a significant benefit, as they also affect the git history/blame. I'll close this for now, but I hope to see more different fixes in the future if you'd like to contribute!

@bluwy bluwy closed this Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants