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 https://github.com/vuejs/vue-next instead.
and it looks like ensureLeadingSlash and normalizePath should be called before adding. stripping /@fs/ should also be done on the condition that it exists.
Describe the bug
First 4 characters are missing. eg
"e_modules/.vite/chunk-TFQY2HEV.js"
instead of"/node_modules/.vite/chunk-TFQY2HEV.js"
found via sveltekit sveltejs/kit#3349
@bluwy traced it to
vite/packages/vite/src/node/plugins/importAnalysis.ts
Lines 401 to 404 in 5964949
Reproduction
https://github.com/Rich-Harris/vite-safe-modules-repro
System Info
Used Package Manager
pnpm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: