You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This behavior is causing me issues because I need to run Vite through a server which proxies all requests. This middle layer sometimes reorders the query params. And as mentioned above when the query params are reordered, the returned result is not what is expected and thus cause browser syntax errors.
The result when making a call to a URL should always return the same result given the same url even if the query param order has changed.
The text was updated successfully, but these errors were encountered:
Minimal Reproduction Repo: https://github.com/skalidindi/vite-vue2-bug
My repo has a very basic Vue project with App.vue containing some css code.
When you run the project in dev mode and inspect the network tab, you notice document requests such as for App's css i.e
This properly returns javascript as expected.
However, if the order of the query params changes then the output is different and instead invalidly returns the parsed css such as
This behavior is causing me issues because I need to run Vite through a server which proxies all requests. This middle layer sometimes reorders the query params. And as mentioned above when the query params are reordered, the returned result is not what is expected and thus cause browser syntax errors.
The result when making a call to a URL should always return the same result given the same url even if the query param order has changed.
The text was updated successfully, but these errors were encountered: