mirror of
https://github.com/hanzoai/id.git
synced 2026-10-26 20:59:52 +00:00
The published @hanzo/brand / @luxfi/brand / @zooai/brand / @parsdao/brand npm tarballs don't ship the assets/ directory (only dist/ + brand.json per the pkg's 'files' field). The Vite plugin can only emit what's present on disk; result: 404 on /brand/<pkg>/assets/logo/logo.svg. Workaround until the brand pkgs republish with assets included: commit the SVGs into apps/web/public/brand/<pkg>/assets/logo/ so they ship in the SPA bundle directly. Same path the localizeAssets rewrite produces, so loadBrand() output is unchanged. To update: re-copy from ~/work/<org>/brand/assets/logo/ and bump @hanzo/id patch.