fix: only use basename in ssr build

This commit is contained in:
Aarnav Tale 2025-04-02 20:09:10 -04:00
parent 7d61ad50c4
commit 16a8122f85

View File

@ -19,7 +19,7 @@ if (!version) {
} }
export default defineConfig(({ isSsrBuild }) => ({ export default defineConfig(({ isSsrBuild }) => ({
base: `${prefix}/`, base: isSsrBuild ? `${prefix}/` : undefined,
plugins: [reactRouterHonoServer(), reactRouter(), tsconfigPaths()], plugins: [reactRouterHonoServer(), reactRouter(), tsconfigPaths()],
css: { css: {
postcss: { postcss: {