Skip to content

Conversation

chargome
Copy link
Member

@chargome chargome commented Oct 6, 2025

Next.js will switch the default bundler starting with Next.js v16

  • Updated detection logic for turbopack vs webpack
  • Updated generic tests (app dir + pages dir) to only run on webpack (we'll need to update these as soon as next16 is released) (there are tests that won't pass on turbopack and keeping this in sync for both bundlers will become unmaintainable)
  • Add a bunch of unit tests
  • Disabled next dev --webpack tests for now as instrumentation breaks – tracked in linear
  • Middleware tests failing likely due to missing Proxy support , will split this up in a follow up pr

closes https://linear.app/getsentry/issue/FE-617/support-new-default-bundling-behaviour-for-nextjs-16

@chargome chargome self-assigned this Oct 6, 2025
Copy link
Contributor

github-actions bot commented Oct 6, 2025

size-limit report 📦

Path Size % Change Change
@sentry/browser 24.4 kB - -
@sentry/browser - with treeshaking flags 22.9 kB - -
@sentry/browser (incl. Tracing) 40.61 kB -0.01% -1 B 🔽
@sentry/browser (incl. Tracing, Replay) 78.98 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 68.62 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 83.67 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 95.82 kB - -
@sentry/browser (incl. Feedback) 41.1 kB +0.01% +1 B 🔺
@sentry/browser (incl. sendFeedback) 29.06 kB - -
@sentry/browser (incl. FeedbackAsync) 33.97 kB - -
@sentry/react 26.11 kB - -
@sentry/react (incl. Tracing) 42.55 kB - -
@sentry/vue 28.92 kB - -
@sentry/vue (incl. Tracing) 42.39 kB - -
@sentry/svelte 24.44 kB - -
CDN Bundle 26.63 kB - -
CDN Bundle (incl. Tracing) 41.15 kB - -
CDN Bundle (incl. Tracing, Replay) 77.44 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 82.9 kB - -
CDN Bundle - uncompressed 78.18 kB - -
CDN Bundle (incl. Tracing) - uncompressed 122.18 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 237.34 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 250.1 kB - -
@sentry/nextjs (client) 44.58 kB - -
@sentry/sveltekit (client) 40.98 kB - -
@sentry/node-core 50.74 kB - -
@sentry/node 154.36 kB - -
@sentry/node - without tracing 92.59 kB - -
@sentry/aws-serverless 106.32 kB +0.01% +1 B 🔺

View base workflow run

Copy link

linear bot commented Oct 9, 2025

@chargome chargome marked this pull request as ready for review October 9, 2025 14:49
cursor[bot]

This comment was marked as outdated.

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