tried out bundle splitting again. closer, but no dice

Orual cdbdcce8 9f507e48

+7
+3
Cargo.toml
··· 80 80 [profile.wasm-dev] 81 81 inherits = "dev" 82 82 debug = true 83 + lto = true 83 84 84 85 [profile.server-dev] 85 86 inherits = "dev" 86 87 debug = true 88 + lto = true 87 89 88 90 89 91 [profile.server-release] 90 92 inherits = "release" 91 93 opt-level = 2 94 + lto = true 92 95 93 96 [profile.android-dev] 94 97 inherits = "dev"
+4
crates/weaver-app/Cargo.toml
··· 28 28 fullstack-server = ["dioxus/fullstack"] 29 29 # Enable pckt/site.standard document rendering 30 30 pckt = ["weaver-renderer/pckt"] 31 + # Route-based WASM bundle splitting. Currently broken: causes server/client serialization 32 + # mismatches (bool vs String) in use_server_future, especially in navbar. Possibly related 33 + # to SmolStr niche optimization or type registry getting confused across module boundaries. 34 + # Revisit when dioxus matures this feature. Run with: dx serve --wasm-split 31 35 wasm-split = ["dioxus/wasm-split"] 32 36 # Use weaver-index for reads (proxied when authenticated) 33 37 use-index = ["weaver-common/use-index"]