**Aim** Upload my Next.js app's sourcemap file to highlight.io (or other services) **My attempt/Rep

Aim
Upload my Next.js app's sourcemap file to highlight.io (or other services)

My attempt/Reproduction steps
  • I followed the official Cloudflare Pages docs (https://developers.cloudflare.com/workers/observability/source-maps/), and I added upload_source_maps = true to
    wrangler.toml
    file.
  • My app's wrangler version: "wrangler": "^3.99.0"
  • Run pnpm next-on-pages && pnpm wrangler pages deploy
Problem
Q1: What is the sourcemap file's path? I can't find it.
Q2: Do I need to make any changes in tsconfig.json
Q3: Where can I learn more information about .next/ and .vercel/ folders?
Was this page helpful?