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
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.
I was being able to do a functional build with vite@1 and now that I have updated my configuration and my modules to work with vite@2, some assets and components do not load correctly and have paths that do not correspond to the real absolute paths.
It works perfect on dev and although I am making an app with electron, it should not be a problem since as I mentioned before the builds were good with vite@1.
It is not a problem with the assets, they exist in the build folder. Seems to be a problem when they are required.
This is a more detailed issue where you can find all the error messages and screenshots:
A reproduction is required unless you are absolutely sure that the the problem is obvious and the information you provided is enough for us to understand what the problem is. If a report has only vague description (e.g. just a generic error message) and has no reproduction, it will receive "need reproduction" label. If no reproduction is provided after 3 days, it will be auto-closed.
System Info
vite latest:
Operating System: Windows 10 2004
Node version: 15.2.0
Package manager (npm) and version: 7.0.8
The text was updated successfully, but these errors were encountered:
Check out https://vitejs.dev/guide/migration.html#alias-behavior-change, I think this may be the issue here. I'm closing this one as it is pointing to an old version of Vite. If your issue still persists, please create a new bug report against the latest Vite version. Try to isolate the issue in a minimal reproduction, thanks!
Describe the bug
I was being able to do a functional build with vite@1 and now that I have updated my configuration and my modules to work with vite@2, some assets and components do not load correctly and have paths that do not correspond to the real absolute paths.
It works perfect on dev and although I am making an app with electron, it should not be a problem since as I mentioned before the builds were good with vite@1.
It is not a problem with the assets, they exist in the build folder. Seems to be a problem when they are required.
This is a more detailed issue where you can find all the error messages and screenshots:
MangoTsing/vite-electron-quick#11
This is my vite config:
Reproduction
https://github.com/denyncrawford/mismor-guillotine
A reproduction is required unless you are absolutely sure that the the problem is obvious and the information you provided is enough for us to understand what the problem is. If a report has only vague description (e.g. just a generic error message) and has no reproduction, it will receive "need reproduction" label. If no reproduction is provided after 3 days, it will be auto-closed.
System Info
vite
latest:The text was updated successfully, but these errors were encountered: