Skip to content

Commit 99fab22

Browse files
committed
fix(repo): 取反 app/src/build 免被 build/ 规则静默吞掉
1 parent 0e68431 commit 99fab22

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎.gitignore‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ __pycache__/
99
# Build
1010
dist/
1111
build/
12+
# ⚠️ 上面的 `build/` 是**未锚定**模式,会匹配任意层级的 build 目录。
13+
# `app/src/build/` 是**源码**目录(批 2 的 manualChunks 纯函数与单测),
14+
# 被它吞掉的后果是**静默**的:git status 不显示、整树 ripgrep 对该目录失明
15+
# (实测:同仪器同会话在 app/ 下对确实存在的串报 0 命中,窄域 grep 19 命中)。
16+
# 取反必须「先目录、再内容」——git 不允许在父目录被排除时重新包含其中的文件。
17+
!app/src/build/
18+
!app/src/build/**
1219
*.exe
1320
*.wasm
1421
*.pdb

0 commit comments

Comments
 (0)