fix(build): isolate hydrate feature to wasm32 target and prevent SSR spawn_local panic

This commit is contained in:
dahyeon committed 2026-11-04 23:24:19 +09:00
1 parent b43b060c8a
commit 6a157a2eca
4 files changed
+74 -4

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ COPY style ./style
COPY public ./public
# 1. Build Axum SSR server binary
RUN cargo build --release --locked --bin server
RUN cargo build --release --locked -p server --bin server
# 2. Build Leptos WASM hydrate bundle and assemble /src/target/site
RUN cargo build --profile wasm-release --locked --target wasm32-unknown-unknown -p frontend \