Skip to content

Commit

Permalink
Treat compiled JS/CSS as binary when diffing
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremystretch committed Sep 16, 2021
1 parent aa05097 commit 574b57e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 574b57e

Please sign in to comment.