Is there anyway to upload source maps to Sentry on pages build?

We have a Nextjs static website that uses CF pages and have Sentry for error tracking, since our project use TS is there anyway for us to upload the source maps to Sentry on next build on CF pages. (According to Sentry docs here , here, Sentry webpack plugin automatically update source maps on next build) As I looked in to the current Sentry pages plugin it seems to be for workers / functions.
Source Maps for Next.js
Learn how to enable readable stack traces in your Sentry errors.
Manual Setup for Next.js
Learn how to set up the SDK manually.
0 Replies
No replies yetBe the first to reply to this messageJoin