Skip to content

Conversation

@samcm
Copy link
Member

@samcm samcm commented Nov 15, 2025

Add a Vite plugin that validates all og:image and twitter:image references in route files during build. The plugin ensures referenced images exist in the public directory, failing the build with clear error messages if any are missing.

Also removes image references from forks and entities routes that were pointing to non-existent files.

Add a Vite plugin that validates all og:image and twitter:image
references in route files during build. The plugin scans route files
for image references and ensures corresponding files exist in the
public directory.

If images are missing, the build fails with a clear error message
showing which images are missing and which routes reference them.

Also removes image references from forks and entities routes that
were pointing to non-existent files.
@samcm samcm changed the base branch from master to release/frontend November 15, 2025 12:39
@samcm samcm requested a review from Savid as a code owner November 15, 2025 12:39
@samcm samcm merged commit 10c0883 into release/frontend Nov 15, 2025
3 checks passed
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.

3 participants