-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
feat: rename plugin enforce
to order
#9670
Conversation
I think we should also merge this one in Vite 3.1. We could start issuing a warning in Vite 4 when |
Co-authored-by: patak <matias.capeletto@gmail.com>
As we now have hook level I agree that we should deprecate |
I think the order of the plugin still matters.
It would be great if Rollup would like to introduce top-level |
Ah, so there is 3 * 3 = 9 orders now. Am I correct?
|
Yes, and the order you listed would be respected for Vite.
I think we should keep
This feels a bit too niche to me. Still on the fence about what is better:
I feel 1. is more consistent. If we want to attack that niche case, maybe is it better to rely on normal ordering, or to add more stages in the future? ( |
After the team meeting, we think it's better to hold this PR. Having it named |
Does that mean this PR should be closed? There's a merge conflict that would need to be resolved if this is still going to be pursued |
Yes, I think we shall close for now. |
Description
To align with Rollup's naming on object hooks. #9634
Additional context
What is the purpose of this pull request?
Before submitting the PR, please make sure you do the following
fixes #123
).