Does anyone understand the Pages Functions framework enough to understand what might be happening he

Does anyone understand the Pages Functions framework enough to understand what might be happening here?
  1. I generate a Remix build that contains functions/[[path]].js and an associated sourcemap functions/[[path]].js.map.
  2. I get stack traces (via Sentry) with raw stack frames like {"filename":"functionsWorker-0.016298107377014315.js","module":"functionsWorker-0.016298107377014315","function":"pNe","lineno":39551,"colno":8,"in_app":true,"abs_path":"/functionsWorker-0.016298107377014315.js"}.
  3. I assume this is matching the dynamic [[path]].js file, but the strange thing is that file has < 1000 lines, so the line numbers clearly aren't lining up.
The TL;DR is I can successully get the sourcemap file to match using the Sentry RewriteFrames plugin, but can't figure out why the stack frames don't line up with the generated file. Is there some other Pages Functions magic happening?
Was this page helpful?