Source map in worker does’t work
I made a hono backend and log the error and stack somewhere in the code.
set upload_source_maps = true in the wrangler.toml and run wrangler deploy
call the API to trigger the error and stack log
You will see the stack trace doesn’t have original file location, but instead it has the bundled js file code location.
How to get the source map to work in worker?
set upload_source_maps = true in the wrangler.toml and run wrangler deploy
call the API to trigger the error and stack log
You will see the stack trace doesn’t have original file location, but instead it has the bundled js file code location.
How to get the source map to work in worker?