- build.rs: generate .gz and .br compressed variants at build time, embed both into the FRONTEND constant - dist.rs: content-type for SPA fallback uses index.html path explicitly, explicit extension mapping for Vite content-hashed filenames - frontend lib: get_frontend_asset_compressed returns (data, encoding, etag) |
||
|---|---|---|
| .. | ||
| src | ||
| build.rs | ||
| Cargo.toml | ||