Skip to content

Conversation

@markdalgleish
Copy link
Member

As noted in the test in this PR, this ensures that code is not accidentally duplicated when a route is imported within user code since they're not importing one of our internal virtual route modules.

This is already the case in our existing Vite plugin, so I've also got the newly added test running against our standard Vite test template too.

@changeset-bot
Copy link

changeset-bot bot commented Aug 18, 2025

⚠️ No Changeset found

Latest commit: d575dd6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@markdalgleish markdalgleish merged commit 246f836 into dev Aug 20, 2025
14 checks passed
@markdalgleish markdalgleish deleted the markdalgleish/rsc-route-dedupe branch August 20, 2025 23:46
@github-actions
Copy link
Contributor

🤖 Hello there,

We just published version 7.8.2-pre.0 which includes this pull request. If you'd like to take it for a test run please try it out and let us know what you think!

Thanks!

@github-actions
Copy link
Contributor

🤖 Hello there,

We just published version 7.8.2 which includes this pull request. If you'd like to take it for a test run please try it out and let us know what you think!

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants