Skip to content

fix(dev): allow .mjs& .mts extension for route config file #13931

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

Merged
merged 3 commits into from
Jul 3, 2025

Conversation

timdorr
Copy link
Member

@timdorr timdorr commented Jul 3, 2025

Fixes #12869

Copy link

changeset-bot bot commented Jul 3, 2025

🦋 Changeset detected

Latest commit: 9872acd

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/dev Patch
@react-router/fs-routes Patch
@react-router/remix-routes-option-adapter Patch
create-react-router Patch
react-router Patch
react-router-dom Patch
@react-router/architect Patch
@react-router/cloudflare Patch
@react-router/express Patch
@react-router/node Patch
@react-router/serve 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

@brophdawg11 brophdawg11 linked an issue Jul 3, 2025 that may be closed by this pull request
@brophdawg11 brophdawg11 merged commit b4e7d2c into dev Jul 3, 2025
8 checks passed
@brophdawg11 brophdawg11 deleted the timdorr-allow-mjs branch July 3, 2025 19:30
@MichaelDeBoey MichaelDeBoey changed the title fix: allow .mjs extension for route config file fix(dev): allow .mjs& .mts extension for route config file Jul 3, 2025
vezaynk pushed a commit to vezaynk/react-router that referenced this pull request Jul 7, 2025
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.

Allow mjs extension for route config file
3 participants