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
Trying to build with vite.build.ssr = false, but it appears that VitePress continues to bundle everything as if preparing it to be served with a backend.
Reproduction
Build VitePress with vite.build.ssr = false
Expected behavior
Paths will become absolute and referenced modules will be bundled with the dist, unless excluded with rollupOptions.external.
I think you're confused between what SSR in this context means. VitePress performs SSR to generate static HTML/JS/CSS. You can host that wherever you want. You don't need a backend to serve that. Regarding paths, you probably need #2467
Describe the bug
Trying to build with
vite.build.ssr = false
, but it appears that VitePress continues to bundle everything as if preparing it to be served with a backend.Reproduction
Build VitePress with
vite.build.ssr = false
Expected behavior
Paths will become absolute and referenced modules will be bundled with the dist, unless excluded with
rollupOptions.external
.System Info
Additional context
VitePress should respect disabling
SSR
to allow for hosting via CDN.Validations
The text was updated successfully, but these errors were encountered: