/@vite/client should have a configurable base path #22
CharlesStover
started this conversation in
Proposals
Replies: 1 comment
-
I think we'll address this by supporting the environment api, in which vite will take over all dev server tasks |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What is it about?
No response
What's the motivation for this proposal?
Problems you are trying to solve:
/@vite/client
becomes invalid and 404s.Goals you are trying to achieve:
localhost
, but I am testing my Vite app on a different custom domain.Any other context or information you want to share:
The Vite client path is hard coded here.
Proposed Solution / Feature
What do you propose?
If the Qwik vite plugin took a prop like
viteClientBase
(default:/
), this would be configurable and solve my use case.Code examples
Links / References
https://github.com/QwikDev/qwik/blob/a86f56e7117e9ac566c756b21dd76acaed3ea306/packages/qwik/src/optimizer/src/plugins/vite-dev-server.ts#L425
Beta Was this translation helpful? Give feedback.
All reactions