Repository navigation
Exclude web_dist from GitHub language statistics - #2
Merged
Merged
Conversation
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
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a
.gitattributesthat marksweb_dist/as generated and vendored.Why
web_dist/is the prebuilt Flutter web bundle that Vercel serves (seevercel.jsonandtool/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
web_dist/stays committed, so the Vercel preview keeps working.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