Dockerfile 改用 standalone 模式 next.config.js 添加 output standalone 修复 cssnano-simple 构建失败:globals.css 注释含 */ 被误解析 tailwind.config.js 覆盖 boxShadow 为 rgba 格式 + 禁用 ringWidth 组件修复:替换 / 语法为 inline style 或自定义类 otel.ts 添加 webpackIgnore 跳过 optionalDependencies 静态分析 .env.example 默认禁用 mock 新增 .dockerignore 和 docs/nextstep.md 删除 postcss.config.js 验证:Docker 镜像构建成功,容器 healthy,typecheck + lint 零错误
48 lines
495 B
Plaintext
48 lines
495 B
Plaintext
# 依赖目录(构建时重新安装)
|
|
node_modules
|
|
**/node_modules
|
|
|
|
# 构建产物
|
|
.next
|
|
out
|
|
dist
|
|
build
|
|
coverage
|
|
|
|
# 测试与开发工具
|
|
.turbo
|
|
.cache
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
pnpm-debug.log*
|
|
|
|
# 环境变量与本地配置
|
|
.env*.local
|
|
.env
|
|
|
|
# IDE 与编辑器
|
|
.vscode
|
|
.idea
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# Git
|
|
.git
|
|
.gitignore
|
|
|
|
# 平台与临时文件
|
|
.DS_Store
|
|
Thumbs.db
|
|
*.tmp
|
|
*.bak
|
|
|
|
# TypeScript 增量构建缓存
|
|
*.tsbuildinfo
|
|
|
|
# 测试覆盖率报告
|
|
.nyc_output
|
|
coverage
|