Next.js build outputs
.next、out、.vercel/output 中哪些文件需要忽略?
Explore resourceProfessional .gitignore tools
Nextjs project template
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
/node_modules
/.pnp
.pnp.js
# testing
/coverage
# next.js
/.next/
/out/
# production
/build
# misc
.DS_Store
*.pem
# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# local env files
.env*.local
.env
# vercel
.vercel
# typescript
*.tsbuildinfo
next-env.d.ts
.gitignore in your project root.next、out、.vercel/output 中哪些文件需要忽略?
Explore resource避免服务器日志、生成的 schema 泄漏到仓库。
Explore resource与 React、TypeScript 模板搭配构建完整策略。
Explore resource结合 SSR、图片优化、Vercel 输出目录的一键模板。