Skip to content

Commit

Permalink
Fix crypto deps
Browse files Browse the repository at this point in the history
  • Loading branch information
heathsnee committed Jul 20, 2024
1 parent bf2e044 commit 1e9be05
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/extension/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const config = {
},
resolve: {
alias: {
stream: 'vite-compatible-readable-stream',
config: resolve(__dirname, 'src/config'),
version: resolve(__dirname, '../../node_modules/@radixdlt/connector-extension/src/version'),
options: resolve(__dirname, '../../node_modules/@radixdlt/connector-extension/src/options'),
Expand All @@ -27,8 +28,6 @@ const config = {
// have to replace each crypto/[path] otherwise it will error out due to default crypto import
'crypto/blake2b': resolve(__dirname, '../../node_modules/@radixdlt/connector-extension/src/crypto/blake2b'),
'crypto/curve25519': resolve(__dirname, '../../node_modules/@radixdlt/connector-extension/src/crypto/curve25519'),
'crypto/encryption': resolve(__dirname, '../../node_modules/@radixdlt/connector-extension/src/crypto/encryption'),
'crypto/sealbox': resolve(__dirname, '../../node_modules/@radixdlt/connector-extension/src/crypto/sealbox'),
'crypto/secp256k1': resolve(__dirname, '../../node_modules/@radixdlt/connector-extension/src/crypto/secp256k1'),
'crypto/secure-random': resolve(__dirname,'../../node_modules/@radixdlt/connector-extension/src/crypto/secure-random'),
'crypto/get-linking-message': resolve(__dirname,'../../node_modules/@radixdlt/connector-extension/src/crypto/get-linking-message'),
Expand Down

0 comments on commit 1e9be05

Please sign in to comment.