浏览代码

Merge pull request #4870 from glennmatthews/gfm-issue-4862

Treat minified/packed JS/CSS files as binary. Fixes #4862
Jeremy Stretch 5 年之前
父节点
当前提交
2f5e623284
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      .gitattributes

+ 4 - 0
.gitattributes

@@ -1 +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