/@vite/client should have a configurable base path #22
CharlesStover
started this conversation in
Proposals For Qwik
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
Uh oh!
There was an error while loading. Please reload this page.
-
What is it about?
No response
What's the motivation for this proposal?
Problems you are trying to solve:
/@vite/clientbecomes 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