-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Vite dev-server HTTP2 support #26980
Comments
Hi @muuvmuuv, HTTP2 does work unless the proxy option is enabled, which is the same with webpack-dev-server. Using the mentioned package and plugin is not really an option as the it does not provide most of features that Overall, this seems to be more of an issue that needs to be handled upstream. |
OK, but it is quite common to use the proxy setting. But yes, would be more a task on Vite end. Just found that maintained fork here: https://github.com/unjs/httpxy |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Command
serve
Description
Would it be possible or in scope to support HTTP2 for Vite dev-server?
There is this issue here that states Vite itself won't, but from one comment, a plugin can be created to use http2-proxy.
Issue: vitejs/vite#4184
Possible solution: https://gist.github.com/xfournet/068592b3d1ddd488427b874b23f707bf
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
The text was updated successfully, but these errors were encountered: