Skip to content

Bug: React Router v7.x Compatibility Issue with Parcel Bundler #13097

@Murugan2207

Description

@Murugan2207

I'm using React Router as a...

library

Reproduction

When using React Router v7.x with the Parcel bundler, the imports in node_modules/react-router-dom/dist/index.mjs are incorrect. This causes the app to fail during compilation, throwing an error related to module resolution.

System Info

node 20 version

Used Package Manager

npm

Expected Behavior

it should work fine with all the versions

Actual Behavior

Now ithe react router V7+ not working with parcel bunder

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions