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
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Describe the bug
Polyfills are attached to index.html as first thing in
<head>
, this means they are loaded before<base href.. />
is set.In my case this results in:
which is wrong.
Reproduction
https://github.com/pongells/vite-legacy-repro
Steps to reproduce
Checkout repo then:
Go to:
http://localhost:4173/about/me
see polyfills not being loaded.
Summary:
<base href="/" />
to yourindex.html
filebase: ""
invite.config.ts
System Info
Used Package Manager
yarn
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: