# UI 的 Dockerfile 顺序是：npm install → COPY . .
# 若不排除 node_modules，`COPY . .` 会把宿主机的 node_modules **覆盖**进容器，
# 冲掉刚装好的依赖（跨平台时还会带进错误的原生二进制）。widget 的 .dockerignore 正是为此存在。
node_modules
**/node_modules

# 构建产物与生成物
dist
.cache

# umi 生成目录（已在 .gitignore 中，CI 干净检出时本就不存在）
src/.umi
src/.umi-production
src/.umi-test
src/.umi-undefined

# 版本控制与日志
.git
.gitignore
*.log
