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
Vite 5.0.13 produced the correct build,
but any version above that is breaking build ( i.e. not including asset URLs in dist HTML files )
The reproduction github repo also has package.json & package-lock.json files which was working correctly. ( under folder /package-json-versions ) you can copy them to root and use them if required.
( explained different package json files below, referenced as <name>_package.json & <name>_package-lock.json )
old_but_working
old package versions
correct build
1 vulnerability in `npm audit`
old_v2_but_working
old package versions + vite 5.0.10 -> 5.0.13
correct build
no vulnerability in `npm audit`
new_but_faulty
latest package versions
faulty build
no vulnerability in `npm audit`
( My latest guess is that Vite is causing issue, but I am not sure, so do let me know if that's the case )
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
Initially posted on StackOverflow: https://stackoverflow.com/questions/78192074/combination-of-latest-versions-of-vite-vue-vitejs-plugin-vue-and-vite-plugin
( maybe helpful discussion: emosheeep/vite-plugin-virtual-mpa#68 )
Explanation in brief:
Vite 5.0.13 produced the correct build,
but any version above that is breaking build ( i.e. not including asset URLs in dist HTML files )
The reproduction github repo also has package.json & package-lock.json files which was working correctly. ( under folder /package-json-versions ) you can copy them to root and use them if required.
( explained different package json files below, referenced as <name>_package.json & <name>_package-lock.json )
( My latest guess is that Vite is causing issue, but I am not sure, so do let me know if that's the case )
Reproduction
https://github.com/shivamrawal19/testmpa
Steps to reproduce
run
npm install
followed bynpm run build
See the HTML files in the dist folder, it does not have asset URLs.
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: