Commit 7ff8f3e
committed
Suppress missing-assets warning during
cargo-leptos invokes the SSR `cargo build` before writing the bundled
JS/CSS/WASM into `target/site/pkg/`, so the warning fired spuriously
during `make build`. Detect `LEPTOS_OUTPUT_NAME` (set by cargo-leptos
for all sub-builds) and skip the warning in that case — it still fires
for a plain `cargo build` / `cargo install --path .` where it matters.cargo leptos build
1 parent 2491736 commit 7ff8f3e
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | | - | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
0 commit comments