Files
novalon-website/sentry.client.config.ts
T
zhangxiang a0328a623f chore(qa): 验收台账与证据入库 + 构建/部署配置同步
- docs/acceptance/qa-tracker.md:跨周期缺陷单一真源台账(§7=第五轮)。
- 周期 1/2 + iPhone SE/axe 验收证据目录、ACCEPTANCE_REVIEW 快照入库。
- 同步 README/CONTEXT/CLAUDE/DESIGN/testing/deployment/lessons-learned 口径;
  next.config/Dockerfile/nginx/Jenkinsfile/docker-compose/sentry/prisma 对齐
  standalone 产物装配与部署形态。
2026-09-28 10:48:09 +08:00

17 lines
1.1 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// 已迁移(2026-09,Sentry 接线):本文件的初始化逻辑整体移入 src/instrumentation-client.ts。
//
// 为什么迁移而非保留:
// 1. Next 16 起 `next build` 默认使用 Turbopack
// (node_modules/next/dist/docs/01-app/02-guides/upgrading/version-16.md:128),
// Turbopack 下本文件不会被任何入口加载——SDK 源码中的弃用提示明说
// "When using Turbopack `sentry.client.config.ts` will no longer work"
// (node_modules/@sentry/nextjs/build/esm/config/webpack.js:207-213)。
// 2. 若本文件仍含 Sentry.init,webpack 回退路径(next build --webpack)会把它与
// instrumentation-client 一并注入 client entry,造成双重初始化
// (node_modules/@sentry/nextjs/build/esm/config/webpack.js:272-282 addSentryToClientEntryProperty)。
//
// 本文件仅保留为空模块:文件删除需另行审批;webpack 回退路径即使注入此文件也只是空模块,
// 不会与 instrumentation-client 双重初始化。
// 客户端配置的唯一事实来源(single source of truth)现为 src/instrumentation-client.ts。
export {};