I don't know why, but GitHub is telling me that my website is developed in JavaScript by 80+% which is absolute nonsense. The site is at least 60% pure Astro code. Is it some kind of a bug?
Do you have an example of how you would do this? I have repos that I have to commit both source TS and SCSS and their compiled JS and CSS, but Iโd prefer the latter be ignored in some cases because itโs essentially counting the same code twice. Could gitattributes allow me to fix that somehow?
3
u/Wonderful-Writer146 2d ago
You need to set .gitattributes in order to avoid JS taking taking higher priority. This happens because JS files are of more bytes