#Chunks aren't being loaded from outDir

1 messages · Page 1 of 1 (latest)

kind citrus
#

I've upgraded to Vite 6 and I'm having a problem with chunks not being found due to them being loaded from the URL root instead of the outDir.

For example the top files loads from /distapp/Grid-etc.js which then tries to load /global-etc.js and /index-etc.js without the /distapp URL segments.

The manifest has:
"src/app/sample/views/Grid.vue": { "file": "Grid-8opQVxSf.js", "name": "Grid", "src": "src/app/sample/views/Grid.vue", "isDynamicEntry": true, "imports": [ "_index-BhjLkN67.js", "src/app/sample/main.js", "_global-B4XcVbji.js" ] },

kind citrus
#

this is in a multi-page application if that matters

kind citrus
#

base: "./", mostly fixed my problems