Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
rvcas committed Apr 17, 2024
1 parent 1ab0fa1 commit 5222c8a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,11 @@
"postgres": "^3.4.4",
"translucent-cardano": "^0.0.6",
"ws": "^8.16.0"
},
"browser": {
"fs": false,
"path": false,
"stream": false,
"crypto": false
}
}
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export default defineConfig({
plugins: [sveltekit(), Icons({ compiler: 'svelte' }), wasm(), topLevelAwait(), nodePolyfills()],
resolve: {
alias: {
'@sinclair/typebox': '@sinclair/typebox',
'@dcspark/cardano-multiplatform-lib-nodejs': '@dcspark/cardano-multiplatform-lib-browser',
},
},
Expand Down

0 comments on commit 5222c8a

Please sign in to comment.