- Add report.html files to .gitignore to exclude analysis reports from version control - Update build time configuration to include milliseconds for unique timestamps - Add explanatory comment for build time millisecond precision - Regenerate bundle analysis report with updated build configuration
58 lines
1016 B
Plaintext
58 lines
1016 B
Plaintext
# --- 依赖与构建输出 ---
|
|
node_modules
|
|
dist
|
|
dist-ssr
|
|
*.local
|
|
# 忽略所有子应用的构建输出
|
|
apps/*/dist
|
|
packages/*/dist
|
|
|
|
# --- 分析报告文件 ---
|
|
report.html
|
|
apps/*/report.html
|
|
|
|
# --- 日志文件 ---
|
|
logs
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
pnpm-debug.log*
|
|
lerna-debug.log*
|
|
|
|
# --- 系统与编辑器 ---
|
|
.DS_Store
|
|
.vscode/*
|
|
!.vscode/extensions.json
|
|
!.vscode/settings.json
|
|
!.vscode/launch.json
|
|
.idea
|
|
*.suo
|
|
*.ntvs*
|
|
*.njsproj
|
|
*.sln
|
|
*.sw?
|
|
|
|
# --- 测试与覆盖率 ---
|
|
coverage
|
|
/cypress/videos/
|
|
/cypress/screenshots/
|
|
.VSCodeCounter
|
|
|
|
# --- Lock 文件 ---
|
|
# 在 pnpm 工作区中,只需保留根目录的 pnpm-lock.yaml
|
|
# 如果有残留的 lock 文件建议忽略或删除
|
|
package-lock.json
|
|
yarn.lock
|
|
|
|
# --- 环境变量 ---
|
|
# 保护敏感信息,只允许提交 .env.example
|
|
# .env
|
|
# .env.production
|
|
# .env.test
|
|
# !.env.example
|
|
|
|
# --- 特色插件生成文件 ---
|
|
# 如果你希望路由自动生成文件不进入版本管理(可选)
|
|
# apps/*/src/typings/elegant-router.d.ts
|