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
{{ message }}
This repository has been archived by the owner on Sep 17, 2022. It is now read-only.
So, i'm trying to build and deploy vitebook to a subfolder on a cdn at every build of a project, but i keep hitting this issue.
I suspect it's a svelte ssr or maybe vite issue that but it's triggered by setting a baseUrl that is a few subdirectories down, but it also seems to be triggered by the filename length or depth of the path, maybe it's caused by the ssr prefetch step ending up in a endless loop recursing through the directories
Config from the svelte sample project with a baseUrl and vite base path added:
This little patch seems to fix the build problems, but it still has some errors like that the index.html file redirecting to / instead of the specified baseUrl
So, i'm trying to build and deploy vitebook to a subfolder on a cdn at every build of a project, but i keep hitting this issue.
I suspect it's a svelte ssr or maybe vite issue that but it's triggered by setting a baseUrl that is a few subdirectories down, but it also seems to be triggered by the filename length or depth of the path, maybe it's caused by the ssr prefetch step ending up in a endless loop recursing through the directories
Config from the svelte sample project with a baseUrl and vite base path added:
Will crash with a OOM similar to this when i run a
npm run vitebook:build
:But setting a shorter path seems to work fine
It also seems to work ok when running
npm run vitebook:dev
except from a few small ui issues (menu seems to be missing).The text was updated successfully, but these errors were encountered: