Skip to content

Remove five dead files from the deploy - #11

Merged
laveshparyani merged 1 commit into
mainfrom
chore/strip-dead-assets
Oct 1, 2026
Merged

laveshparyani merged 1 commit into
mainfrom
chore/strip-dead-assets

Conversation

@laveshparyani

Copy link
Copy Markdown
Collaborator

None of these are referenced anywhere in the repo, and four of the five cannot
be opened at all
:

File Problem
public/assets/logo.png PNG signature ends 1a 0d, should be 1a 0a
public/assets/logo/logo.png same, byte for byte
public/assets/logo/logo-alt.jpg huffman table decode error
public/assets/logo/logo-alt.webp header claims 622337×510465 px
public/vite.svg Vite's starter icon, never used

The 0a → 0d byte swap is text-mode mangling, so these were almost certainly
committed before .gitattributes marked images binary. That file is correct
now, so it will not recur, and git history still holds them if an original is
ever wanted.

444 kB left in every deploy to be served to nobody — and they would have
failed to render if anything had asked for them.

Not affected

assets/logo/logo-mark.svg and logo-mark-reverse.svg are untouched. They are
what the site actually uses, for the favicon, the header and the footer.

Worth stating plainly

There is now no openable master of the logo in the repo. That was already
true
— the files were corrupt before this commit, so nothing was lost by
deleting them. The request for outlined and original logo files is already with
the client.

Verification

Clean rebuild from an empty dist/. All five absent from the output, lint and
verify:seo pass, and every <img> on the homepage reports a non-zero
naturalWidth — nothing broke.

None of these are referenced anywhere in the repo, and four of the five cannot
be opened at all:

  public/assets/logo.png            PNG signature ends 1a 0d, should be 1a 0a
  public/assets/logo/logo.png       same, byte for byte
  public/assets/logo/logo-alt.jpg   huffman table decode error
  public/assets/logo/logo-alt.webp  header claims 622337x510465
  public/vite.svg                   Vite's starter icon, never used

The 0a -> 0d byte swap is text-mode mangling, so these were almost certainly
committed before .gitattributes marked images binary. That file is correct now,
so it will not recur, and git history still holds them if an original is ever
needed.

Nothing is lost that was doing anything: 444kB left every deploy to be served
to nobody, and would have failed to render if anything had asked for it. The
logo the site actually uses, assets/logo/logo-mark.svg, is untouched and still
serves both the favicon and the header.

It does mean there is now no openable master of the logo in the repo. That was
already true — the files were corrupt before this commit — and the request for
outlined and original logo files is already with the client.
@laveshparyani
laveshparyani merged commit 0c0a392 into main Oct 1, 2026
3 checks passed
@laveshparyani
laveshparyani deleted the chore/strip-dead-assets branch October 1, 2026 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant