Skip to content

Commit fe8b486

Browse files
committed
fix(explorer): fix a next error when using client wasm lib
by targetting explicitly the web package, else NextJs want to target both the node package for it's Server side rendering and the web package for the client side. It then fail to find the node package and fallback to client rendering with an error.
1 parent fff5408 commit fe8b486

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

mithril-explorer/package-lock.json

Lines changed: 7 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mithril-explorer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"test:ci": "jest --ci"
1414
},
1515
"dependencies": {
16-
"@mithril-dev/mithril-client-wasm": "file:../mithril-client-wasm/",
16+
"@mithril-dev/mithril-client-wasm": "file:../mithril-client-wasm/dist/web",
1717
"@popperjs/core": "^2.11.8",
1818
"@reduxjs/toolkit": "^2.3.0",
1919
"bootstrap": "^5.3.3",

0 commit comments

Comments
 (0)