Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dario-piotrowicz/react-router-dom-resolveid-issue
https://github.com/dario-piotrowicz/react-router-dom-resolveid-issue
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dario-piotrowicz/react-router-dom-resolveid-issue
- Owner: dario-piotrowicz
- Created: 2024-05-20T17:39:37.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-22T09:30:06.000Z (6 months ago)
- Last Synced: 2024-05-22T10:45:15.118Z (6 months ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `react-router-dom` `resolveId` issue
## Reproduction steps
```sh
$ pnpm i
$ pnpm start
```In the terminal output you will see:
```
'react-router-dom' resolves to /<...>/react-router-dom/dist/index.js?v=<...>
```would it be possible to get the following instead?
```
'react-router-dom' resolves to /<...>/react-router-dom/dist/main.js?v=<...>
```(basically `react-router-dom` gets resolved to this entrypoint: [index.js](https://github.com/remix-run/react-router/blob/7759e8e2912eb69f6dd63b2906490831a2154cfd/packages/react-router-dom/package.json#L23) whilst I'd like it to instead resolve to: [main.js](https://github.com/remix-run/react-router/blob/7759e8e2912eb69f6dd63b2906490831a2154cfd/packages/react-router-dom/package.json#L21))