mirror of
https://github.com/tale/headplane.git
synced 2026-09-04 11:15:42 +00:00
fix: only use basename in ssr build
This commit is contained in:
+1
-1
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user