# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. # dependencies /node_modules /.pnp .pnp.* .yarn/* !.yarn/patches !.yarn/plugins !.yarn/releases !.yarn/versions # testing /coverage # next.js /.next/ /out/ # production /build # misc .DS_Store *.pem # debug npm-debug.log* yarn-debug.log* yarn-error.log* .pnpm-debug.log* # env files # 提交: .env (开发默认 / 占位)、.env.production (部署用真实值)、.env.example # 不提交: .env.local 系列 —— 本机个人覆盖,避免顶掉提交值 .env.local .env.*.local # vercel .vercel # typescript *.tsbuildinfo next-env.d.ts # 大型静态资源 · 走 TOS 桶 + CDN,不入仓库 /public/portraits/ /public/videos/ # asset-pipeline 工具产物 /tools/asset-pipeline/node_modules/ /tools/asset-pipeline/compress.log