You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Sentry causes Next.js standalone to copy entire repo into build output #18004
Hey @BTOdell thanks for filing this. We'll likely need to take this to the Next.js team as we do not control the build ouput. I assume you're building the app with Turbopack atm?
@chargome Yeah, I understand you'll probably need to work with the Next.js team to figure out why this is happening. The minimal repo that I included was stripped down from an app in production and Sentry was the only dependency that was causing this bug to happen.
Activity
linear commentedon Oct 22, 2025
JS-1080
chargome commentedon Oct 23, 2025
Hey @BTOdell thanks for filing this. We'll likely need to take this to the Next.js team as we do not control the build ouput. I assume you're building the app with Turbopack atm?
BTOdell commentedon Oct 23, 2025
@chargome Yeah, I understand you'll probably need to work with the Next.js team to figure out why this is happening. The minimal repo that I included was stripped down from an app in production and Sentry was the only dependency that was causing this bug to happen.
chargome commentedon Oct 23, 2025
Thanks for investigating! We have some other bundling related issues with turbopack atm, maybe they're related. Will post any updates here
BTOdell commentedon Nov 5, 2025
Confirmed that this bug is fixed by Next.js 16.0.1 with no change required by Sentry.
Feat/sentry integration (#75)