瀏覽代碼

chore: update .gitattributes

CaIon 1 周之前
父節點
當前提交
982dc5c56a
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      .gitattributes

+ 5 - 1
.gitattributes

@@ -34,5 +34,9 @@
 # ============================================
 # GitHub Linguist - Language Detection
 # ============================================
-# Mark web frontend as vendored so GitHub recognizes this as a Go project
 electron/** linguist-vendored
+web/** linguist-vendored
+
+# Un-vendor core frontend source to keep JavaScript visible in language stats
+web/src/components/** linguist-vendored=false
+web/src/pages/** linguist-vendored=false