Next.js Discord

Discord Forum

Why does GitHub statistics show 60% HTML in my Next.js TypeScript project?

Answered
Chow Chow posted this in #help-forum
Open in Discord
Chow ChowOP
Hey! I uploaded a Next.js project written in TypeScript to GitHub, but it shows that 60% of the code is HTML. When I check the HTML files listed, there are none visible. I already tried fixing it using .gitattributes, but the language stats still show mostly HTML — any ideas? Link to project: https://github.com/nikitodeon/booksgaleon
Answered by joulev
you uploaded your playwright-report folder. that folder shouldn't be added to git, same for almost any machine-generated files.
View full answer

2 Replies

Answer
that said as far as the nextjs app is concerned, this doesn't affect it