Files
lobo 2abc7c31e2 perf(assets): convert images to webp and check asset paths
Convert 26 PNG/JPG assets to WebP: max 1600 px, q80, diagrams lossless.
src/assets shrinks from 8.3 MB to 4.2 MB.
Use me.jpg for og:image and twitter:image; some crawlers skip WebP.
Add scripts/check-assets.mjs to lint, so a wrong asset path fails lint,
not only at runtime.
2026-10-13 09:13:58 +02:00

62 lines
1.1 KiB
Plaintext

# ---- Standard: All textfiles normalize to LF also during checkout ----
* text=auto eol=lf
# ---- Sourcecode / Build ----
*.java text eol=lf
*.kt text eol=lf
*.kts text eol=lf
*.groovy text eol=lf
*.gradle text eol=lf
gradlew text eol=lf
# Windows wrapper keeps CRLF
gradlew.bat text eol=crlf
# ---- Scripts ----
*.sh text eol=lf
*.bash text eol=lf
*.cmd text eol=crlf
*.bat text eol=crlf
*.ps1 text eol=crlf
# ---- Configuration / Resources ----
*.properties text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.xml text eol=lf
*.json text eol=lf
*.sql text eol=lf
*.conf text eol=lf
Dockerfile text eol=lf
*.dockerfile text eol=lf
# ---- Document ----
*.md text eol=lf
*.adoc text eol=lf
*.txt text eol=lf
*.csv text eol=lf
*.svg text eol=lf
# ---- binary files never convert ----
*.jar binary
*.war binary
*.ear binary
*.class binary
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.webp binary
*.pdf binary
*.zip binary
*.tar binary
*.gz binary
*.7z binary
*.ttf binary
*.woff binary
*.woff2 binary
*.so binary
*.dll binary
*.dylib binary
*.exe binary