-
-
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
fix: enforce generating module
param when needed in relative url resolving (fixes #9807)
#9808
Conversation
module
params when needed in relative url resolving (fixes #9807)module
param when needed in relative url resolving (fixes #9807)
Thank you for the PR! We are doing a similar thing in Maybe just updating this regex will fix your issue?
|
Hi!
vite/packages/vite/src/node/build.ts Lines 306 to 308 in 757a92f
I The problem I'm facing is this: In some vite internal plugins, this can happen in this order:
So I think the plugin of The approach I have in this PR is:
|
I post PR that solves my problem in your way, although I'm not sure it's good to do this way, but I do understand the safety concerns in this giant project. If the other PR is accepted, this PR can be closed. |
Thanks for PR. This PR can fix tiny waste to force declaring a parameter.
I feel that can reduce many parameters that need to be added for state transfer Another chose I think we can do this in Pre Post |
Yes, this PR's approach can reduce the parameter. But
. So I thought it does not justify the complexity. |
Agreed that the increased complexity doesn't justify this approach, let's go with #9821 |
Tnx! But I didn't understand the question... |
More details on the issue it fixes #9807 .
What is the purpose of this pull request?
Before submitting the PR, please make sure you do the following
fixes #123
).