Repository navigation
feat(tanstackstart-react): Run middleware rules and component annotation in one transform plugin - #27078
Draft
timfish wants to merge 1 commit into
Draft
feat(tanstackstart-react): Run middleware rules and component annotation in one transform plugin#27078timfish wants to merge 1 commit into
timfish wants to merge 1 commit into
Conversation
Contributor
Optional E2E testsAll optional checks were successful. 6 successful. See the run. Successful checks
|
Contributor
size-limit report 📦Compared: 058d176 (PR test merge using base PR #27077 at fa7f1a6) Against: fa7f1a6 (base PR #27077) · base run #68579 ✅ Baseline matches: this diff contains only this PR's changes.
|
…on in one transform plugin The SDK builds one transform plugin from its middleware rules and the component annotation rule, so a route file is parsed once and gets one source map. The plugin is also added in development.
timfish
force-pushed
the
ref/tanstackstart-transform-plugin
branch
from
December 2, 2026 14:41
1cb4484 to
f7a4679
Compare
This branch has not been deployed
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 free
to 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.
Fourth step of phase 2 of the call-site rewriter (#25776).
The SDK builds one transform plugin from its middleware rules and the component annotation rule. A route file that matched both was parsed twice and got two source maps. Now it is parsed once and gets one map. The SDK drops the transform plugin of
sentryVitePlugin, so annotation runs only once.Behaviour changes:
sentry-tanstack-middleware-auto-instrumentis now namedsentry-vite-transform.The
tanstackstart-reactE2E app covers the middleware rules in a build. No E2E test covers the dev server.