Uh oh!
There was an error while loading. Please reload this page.
feat(remix)!: Move the Vite plugin to @sentry/remix/vite - #23989
Merged
Conversation
`sentryRemixVitePlugin` was exported from `index.server.ts`, which is the package's CJS `main`, so anything the plugin imports lands in the module graph of every Remix server process. Move it behind a dedicated subpath export, matching `@sentry/sveltekit` and `@sentry/react-router`, so build-time-only dependencies stay off the runtime entry. The plugin now returns an array so further plugins can be added without another breaking change. BREAKING CHANGE: `sentryRemixVitePlugin` is no longer exported from `@sentry/remix`. Import it from `@sentry/remix/vite` instead. Refs #23986 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0189LWkpCsFqEwM5EFoT11TJ
chargome
commented
Sep 3, 2026
MemberAuthor
bugbot run |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit bf5a493. Configure here.
Contributor
size-limit report 📦
|
chargome
marked this pull request as ready for review
September 3, 2026 11:21
chargome
requested review from
Lms24, andreiborza, mydea and s1gr1d
and removed request for
a teamSeptember 3, 2026 11:21
s1gr1d
approved these changes
Sep 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
sentryRemixVitePluginmoves from the main@sentry/remixentry to a dedicated@sentry/remix/vitesubpath, matching@sentry/sveltekitand@sentry/react-router.index.server.ts, the package's CJSmain, so anything the plugin imports lands in the module graph of every Remix server process. Splitting the entry keeps build-time-only dependencies off the runtime path.Refs #23986