Content-Length: 232542 | pFad | http://github.com/getsentry/sentry-javascript/pull/15779

C3 feat(nextjs): Use `afterProductionBuild` to upload sourcemaps and do release management by lforst · Pull Request #15779 · getsentry/sentry-javascript · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(nextjs): Use afterProductionBuild to upload sourcemaps and do release management #15779

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

lforst
Copy link
Member

@lforst lforst commented Mar 21, 2025

Ref vercel/next.js#77345

Next.js is adding an afterProductionBuild hook that we can use to upload sourcemaps and do release management with.

Unfortunately because we need to support older Next.js versions we still need to maintain our Webpack logic so for now I opted to run the afterProductionBuild logic only if we never ran our webpack logic. That way we should never do duplicate work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/getsentry/sentry-javascript/pull/15779

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy