- Remove withSentryConfig wrapper from next.config.ts (Sentry was disabled anyway) - Clear instrumentation-client.ts to prevent Sentry client bundle (~400KB) - Lazy-load RichTextClient via next/dynamic in About.tsx and Contact.tsx - Defers TipTap/ProseMirror loading until CMS data arrives (~430KB) - Homepage First Load JS: 1479KB → 646KB (56% reduction) - Shared JS: 182KB → 102KB (44% reduction) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
3 lines
153 B
TypeScript
3 lines
153 B
TypeScript
// Sentry client SDK disabled to reduce bundle size (~400KB).
|
|
// To re-enable, restore the @sentry/nextjs import and withSentryConfig in next.config.ts.
|