Files
cozsweet-frontend-nextjs/.gitignore
T
admin 7dde951306 feat: integrate Sentry for error monitoring in Next.js application
- Added Sentry configuration for edge features in `sentry.edge.config.ts`
- Added Sentry configuration for server-side in `sentry.server.config.ts`
- Created a sample API route to demonstrate error tracking in `src/app/api/sentry-example-api/route.ts`
- Developed a frontend page to trigger and log errors in `src/app/sentry-example-page/page.tsx`
- Configured client-side Sentry initialization in `src/instrumentation-client.ts` with Replay integration
- Implemented instrumentation registration logic in `src/instrumentation.ts`
2026-06-26 12:48:29 +08:00

64 lines
801 B
Plaintext

# 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
/playwright-report/
/test-results/
# 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.local
.env.development
.env.production
# deploy archives (scripts/deploy/_deploy_lib.sh 的 archive() 生成)
archives/
# vercel
.vercel
# typescript
*.tsbuildinfo
next-env.d.ts
.pnpm-store/
logs/
pictures/
implementation_plan.md
# PWA build artifacts (regenerated each build, hashes change)
public/sw.js
public/workbox-*.js
# Sentry Config File
.env.sentry-build-plugin