Browse Source

Update .gitattributes to collapse diffs on generated files

Emelia Smith 1 year ago
parent
commit
9978b2b959
1 changed files with 7 additions and 0 deletions
  1. 7 0
      .gitattributes

+ 7 - 0
.gitattributes

@@ -3,3 +3,10 @@
 *.scss linguist-vendored
 *.js linguist-vendored
 CHANGELOG.md export-ignore
+
+# Collapse diffs for generated files:
+public/**/*.js text -diff
+public/**/*.json text -diff
+public/**/*.css text -diff
+public/img/* binary -diff
+public/fonts/* binary -diff