Skip to content

Conversation

markdalgleish
Copy link
Member

This PR adds a @react-router/dev/vite entry so that all Vite-related exports don't need to be namespaced or aliased. We avoided this in the past because we didn't use package exports to limit reaching into package internals, but since we now define package exports, we're free to make this change.

-import { - vitePlugin as reactRouter, - cloudflareDevProxyVitePlugin, -} from "@react-router/dev"; +import { + reactRouter, + cloudflareDevProxy, +} from "@react-router/dev/vite";
Copy link

changeset-bot bot commented Aug 19, 2024

🦋 Changeset detected

Latest commit: 39edb2c

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

This PR includes changesets to release 8 packages
Name Type
@react-router/dev Major
react-router Major
react-router-dom Major
@react-router/architect Major
@react-router/cloudflare Major
@react-router/express Major
@react-router/node Major
@react-router/serve Major

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

@markdalgleish markdalgleish merged commit 8540316 into dev Aug 19, 2024
@markdalgleish markdalgleish deleted the markdalgleish/add-dev-vite-entry branch August 19, 2024 06:35
Copy link
Contributor

🤖 Hello there,

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

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

1 participant