Question · Next.js course · Module 1: Next.js Configuration
File Run at Server Startup
Which file in the Next.js root directory is executed at server startup to configure monitoring?
Answer options
- instrumentation.ts
- monitor.config.js
- tracking.tsx
- server.log.ts
Show the answer
Correct answer:
- instrumentation.ts