fix: only use basename in ssr build
This commit is contained in:
parent
7d61ad50c4
commit
16a8122f85
@ -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: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user