Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove publicPath from resolved config #11575

Merged
merged 3 commits into from
May 23, 2024

Conversation

markdalgleish
Copy link
Member

The resolved reactRouterConfig object passed to the buildEnd hook should only contain properties present on the user-provided React Router config object, whereas the publicPath property is a Vite concern. This is just a minor tidy up to keep this API scoped to React Router. If anyone needs the public path in the build end hook, we should instead be passing in the resolved Vite config rather than individual properties.

Copy link

changeset-bot bot commented May 22, 2024

🦋 Changeset detected

Latest commit: ea1f97b

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

This PR includes changesets to release 7 packages
Name Type
@react-router/dev Major
react-router Major
react-router-dom Major
@react-router/express Major
@react-router/node Major
@react-router/serve Major
@react-router/server-runtime 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 73afcdc into v7 May 23, 2024
7 of 8 checks passed
@markdalgleish markdalgleish deleted the markdalgleish/remove-build-end-public-path branch May 23, 2024 01:44
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