3 ms·
> Note: Discord User @PaulH(and a couple others) let me know about this bug that prevents the server build from using the dependencies built for the previous co
by nextaccountic 3y ago
> Note: Discord User @PaulH(and a couple others) let me know about this bug that prevents the server build from using the dependencies built for the previous compilation of the server/webassembly frontend build due to changes in the RUSTFLAGS. You can fix this by having cargo-leptos > 0.2.1 and adding this to you Cargo.toml under your Leptos settings block. I did not test with this enabled.
> [package.metadata.leptos]
> separate-front-target-dir = true
This option is deprecated since cargo-leptos 0.2.3 (now it's enabled unconditionally), it's going to be removed in 0.3
https://github.com/leptos-rs/cargo-leptos/pull/216 https://github.com/leptos-rs/cargo-leptos/pull/216
https://github.com/leptos-rs/cargo-leptos/issues/217 https://github.com/leptos-rs/cargo-leptos/issues/217
https://github.com/leptos-rs/cargo-leptos/commit/b0c19a87cff2e0fb9bac0d9c6d274c38069ed2b5 https://github.com/leptos-rs/cargo-leptos/commit/b0c19a87cff...