Skip to content

Commit 613da88

Browse files
committed
add WalletConnect package externals to next config
1 parent aaced80 commit 613da88

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

next.config.js

+4
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ module.exports = (phase, { defaultConfig }) => {
7171
},
7272
})
7373

74+
// WalletConnect related packages are not needed for the bundle
75+
// https://docs.reown.com/appkit/next/core/installation#extra-configuration
76+
config.externals.push("pino-pretty", "lokijs", "encoding")
77+
7478
return config
7579
},
7680
trailingSlash: true,

0 commit comments

Comments
 (0)