fix: only use basename in ssr build
This commit is contained in:
parent
7d61ad50c4
commit
16a8122f85
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue