feat(icons): support PNG as fallback source for favicon generation
Add PNG source file detection in `make-favicon.js` so the script can use either `favicon.svg` or `favicon.png` as input. Previously, only SVG was supported, causing failures when no SVG was present. - Introduce `detectSourceFile()` to check for SVG first, then PNG - Rename variables to avoid shadowing (`pngPath` → `outPath`, loop var) - Log detected source type for better visibility during generation - Update generated `favicon.ico` accordingly
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 101 KiB |
Reference in New Issue
Block a user