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
When a base path is specified and vite is run in dev mode (including through 'html' mode middlewares), vite will rewrite the main module path to be in the parent directory rather than as a peer to the entrypoint HTML.
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 https://github.com/vuejs/vue-next instead.
Describe the bug
When a base path is specified and vite is run in dev mode (including through 'html' mode middlewares), vite will rewrite the main module path to be in the parent directory rather than as a peer to the entrypoint HTML.
Have repro'd on Windows, MacOS and vite.new
Reproduction
https://github.com/rbirkby/vite-canonicalisation-issue
System Info
Used Package Manager
npm
Logs
Validations
The text was updated successfully, but these errors were encountered: