Skip to content

Conversation

@markdalgleish
Copy link
Member

Previously the future.unstable_viteEnvironmentApi flag needed to be enabled when using the RSC Framework Mode plugin for the native Vite build process to be used. This PR updates our CLI to detect which React Router Vite plugin is being used, and if the RSC plugin is present, we use the new Vite Environment API build process regardless of future flags. This means that templates and tests can now be cleaned up since they don't require a react-router.config.ts to be present.

@changeset-bot
Copy link

changeset-bot bot commented Sep 2, 2025

⚠️ No Changeset found

Latest commit: 8986a29

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 c37c53c into dev Sep 2, 2025
8 checks passed
@markdalgleish markdalgleish deleted the markdalgleish/rsc-framework-without-env-api-flag branch September 2, 2025 03:30
@github-actions
Copy link
Contributor

github-actions bot commented Sep 9, 2025

🤖 Hello there,

We just published version 7.9.0-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.9.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!

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.

3 participants