Skip to content

chore: drop vite-node dependency#14862

Open
vixalien wants to merge 1 commit intoremix-run:devfrom
vixalien:chore/drop-vite-node
Open

chore: drop vite-node dependency#14862
vixalien wants to merge 1 commit intoremix-run:devfrom
vixalien:chore/drop-vite-node

Conversation

@vixalien
Copy link
Copy Markdown

This PR configures @react-router/dev to load it's config file using vite directly, instead of using vite-node.

vite-node has "finished it's mission" according to it's README, because it's capabilities can now be done with Vite natively.

[...] which means vite-node has finished its mission. We will still keep it around for the ecosystem that built around it, but for new projects, please consider using the builtin Vite one instead.

I ported react router to use vite directly according to instructions at antfu-collective/vite-node#11 (comment)

Please let me know if anything else is needed or more details are needed. I believe loading directly via vite-node will be faster (not benchmarked)

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 10, 2026

🦋 Changeset detected

Latest commit: fa247e3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 11 packages
Name Type
react-router Patch
@react-router/dev Patch
create-react-router Patch
@react-router/architect Patch
@react-router/cloudflare Patch
react-router-dom Patch
@react-router/express Patch
@react-router/node Patch
@react-router/serve Patch
@react-router/fs-routes Patch
@react-router/remix-routes-option-adapter Patch

Not sure what this means? Click here to learn what changesets are.

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

@remix-cla-bot
Copy link
Copy Markdown
Contributor

remix-cla-bot bot commented Mar 10, 2026

Hi @vixalien,

Welcome, and thank you for contributing to React Router!

Before we consider your pull request, we ask that you sign our Contributor License Agreement (CLA). We require this only once.

You may review the CLA and sign it by adding your name to contributors.yml.

Once the CLA is signed, the CLA Signed label will be added to the pull request.

If you have already signed the CLA and received this response in error, or if you have any questions, please contact us at hello@remix.run.

Thanks!

- The Remix team

@remix-cla-bot
Copy link
Copy Markdown
Contributor

remix-cla-bot bot commented Mar 10, 2026

Thank you for signing the Contributor License Agreement. Let's get this merged! 🥳

@vixalien vixalien changed the base branch from main to dev March 10, 2026 02:25
@vixalien
Copy link
Copy Markdown
Author

Oops, can't figure out how to fix the tests. help appreciated

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.

1 participant