Skip to content

Exclude web_dist from GitHub language statistics - #2

Merged
spy-ka-y merged 1 commit into
mainfrom
chore/exclude-web-dist-from-language-stats
Oct 10, 2026
Merged

spy-ka-y merged 1 commit into
mainfrom
chore/exclude-web-dist-from-language-stats

Conversation

@spy-ka-y

Copy link
Copy Markdown
Collaborator

What

Adds a .gitattributes that marks web_dist/ as generated and vendored.

Why

web_dist/ is the prebuilt Flutter web bundle that Vercel serves (see vercel.json and tool/publish_web.sh), so it has to stay committed. It is about 18 MB of compiled JavaScript, which makes GitHub's language bar report this Flutter app as roughly 75% JavaScript and 23% Dart. Marking it as generated removes it from the statistics, so the bar reflects the real source.

What does not change

  • No source files, build steps or deploy behaviour change.
  • web_dist/ stays committed, so the Vercel preview keeps working.
  • Diffs under web_dist/ are now collapsed by default in pull requests, which is a small bonus.

Note

GitHub recomputes language statistics after the next push to the default branch, so the bar updates a little after this merges.

🤖 Generated with Claude Code

https://claude.ai/code/session_01YSN8txDQXv9ywRF2rcqXHR


Generated by Claude Code

web_dist/ holds the prebuilt Flutter web bundle that Vercel serves, so it
must stay committed. Marking it as generated and vendored stops the
language bar from reporting a Flutter app as 75% JavaScript.

No source, build or deploy behaviour changes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YSN8txDQXv9ywRF2rcqXHR
@vercel

vercel Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
revenue-cat Ready Ready Preview Oct 10, 2026 6:46pm UTC

@spy-ka-y
spy-ka-y merged commit 8d7b698 into main Oct 10, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — 5f62a505 Deployed Oct 10, 2026 by vercel[bot]
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