Next.js Discord

Discord Forum

instrumentation.ts is never called

Unanswered
Saint-Usuge Spaniel posted this in #help-forum
Open in Discord
Saint-Usuge SpanielOP
My src/instrumentation.ts file is never called in Vercel (works during dev or local prod builds). I found issues in github that state it doesn't work in standalone output. I'm not sure how Vercel deploys a next project in the cloud, so I'm not sure if its related to that.

1 Reply

Saint-Usuge SpanielOP
TL:DR; Does Vercel produce standalone builds for next.js even without output: "standalone"?