Treat compiled JS/CSS as binary when diffing

This commit is contained in:
jeremystretch 2021-09-16 11:03:55 -04:00
parent aa05097fca
commit 574b57eadb
1 changed files with 4 additions and 4 deletions

8
.gitattributes vendored
View File

@ -1,5 +1,5 @@
*.sh text eol=lf
# Treat minified or packed JS/CSS files as binary, as they're not meant to be human-readable
*.min.* binary
*.map binary
*.pack.js binary
# Treat compiled JS/CSS files as binary, as they're not meant to be human-readable
netbox/project-static/dist/*.css binary
netbox/project-static/dist/*.js binary
netbox/project-static/dist/*.js.map binary