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
If the issue is related to 1.x -> 2.0 upgrade, read the Migration Guide first.
Describe the bug
It seems that if you have an entrypoint that shares a base name with one of your asset chunks, the manifest file that ultimately gets written will suffer from loss preventing you from doing a successful backend integration.
In my repro note the following:
I have changed the entrypoint to src/main.js in the vite config
main.vue is a dynamic import so will get its own css asset chunk
Building the site, you will see it generates two css files with basename of main (one for the entrypoint, one for the dynamic chunk).
Note that the manifest file only has a single "main.css" record. It is ambiguous which one it refers to, but from my experience it actually ends up referring to the dynamic chunk, meaning that a record of the entrypoint styles are lost.
Describe the bug
It seems that if you have an entrypoint that shares a base name with one of your asset chunks, the manifest file that ultimately gets written will suffer from loss preventing you from doing a successful backend integration.
In my repro note the following:
src/main.js
in the vite configmain
(one for the entrypoint, one for the dynamic chunk).Reproduction
https://github.com/gryphonmyers/vite-minimal-repro/tree/manifest-name-conflict
System Info
vite
version: 2.0.0-beta.35The text was updated successfully, but these errors were encountered: