wrangler pages deploy - source maps #1318
Closed
BrandonNoad
started this conversation in
Ideas
Replies: 1 comment
-
I just realized I posted this in the wrong repo. It was meant for cloudflare/workers-sdk. I'll move it over there. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Would it be possible to get access to the source maps for the
functionsWorker
files that are built and deployed when usingwrangler pages deploy
?Currently, our error logs look like this:
Without source maps, it is difficult to track down the code responsible for the error.
I am using Cloudflare Pages with Remix. My Remix build script does generate source maps. But they don't match up with the file that
wrangler pages deploy
uploads. It seems to be offset by 50-60 lines.Our log aggregator doesn't support uploading source maps, but if I was somehow able to access the real source maps, I could use a tool like https://github.com/mifi/stacktracify to manually do the mapping.
It is hard to deploy code to production when you can't confidently track down the source of errors/bugs.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions