Skip to content

Commit 380b027

Browse files
committed
Update build for Torus which is working locally
1 parent 2371b78 commit 380b027

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/svelte.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,13 @@ const config = {
4343
'@web3-react/url',
4444
'@web3-onboard/*'
4545
],
46-
plugins: [nodePolyfills({ crypto: true, http: true })]
46+
plugins: [
47+
nodePolyfills({
48+
include: ['node_modules/**/*.js', new RegExp('node_modules/.vite/.*js')],
49+
crypto: true,
50+
http: true
51+
})
52+
]
4753
},
4854
commonjsOptions: {
4955
transformMixedEsModules: true

0 commit comments

Comments
 (0)