Skip to content
This repository was archived by the owner on Jul 21, 2023. It is now read-only.

fix: browser override path #228

Merged
merged 1 commit into from
Sep 14, 2021
Merged

fix: browser override path #228

merged 1 commit into from
Sep 14, 2021

Conversation

achingbrain
Copy link
Member

Webpack requires the ./ otherwise you get:

ERROR in ./node_modules/libp2p-kad-dht/src/routing-table/index.js 6:27-66
Module not found: Error: Can't resolve './generated-prefix-list.json' in '/Users/alex/test/webpack/node_modules/libp2p-kad-dht/src/routing-table'

Webpack requires the `./` otherwise you get:

```
ERROR in ./node_modules/libp2p-kad-dht/src/routing-table/index.js 6:27-66
Module not found: Error: Can't resolve './generated-prefix-list.json' in '/Users/alex/test/webpack/node_modules/libp2p-kad-dht/src/routing-table'
```
@achingbrain achingbrain merged commit 3c737c1 into master Sep 14, 2021
@achingbrain achingbrain deleted the fix/browser-override-path branch September 14, 2021 10:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants