05fd0e21ea
The withSentryConfig() wrapper caused recurring worker.js crashes in Next.js dev mode (vendor-chunks/lib/worker.js MODULE_NOT_FOUND). This crashed the server mid-request during image generation and other long-running operations. Fix: only apply withSentryConfig in production. In dev mode, use the raw Next.js config. Sentry instrumentation also gated to production only. Co-Authored-By: claude-flow <ruv@ruv.net>