We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d19556 commit ce101b9Copy full SHA for ce101b9
ui/vite.config.ts
@@ -1,7 +1,17 @@
1
import { defineConfig } from 'vite';
2
import react from '@vitejs/plugin-react';
3
-
4
-// https://vitejs.dev/config/
5
export default defineConfig({
6
plugins: [react()],
+ resolve: {
+ alias: {
7
+ '@noble/hashes/sha256': '../node_modules/@noble/hashes/src/sha256.ts',
8
+ '@noble/hashes/sha3': '../node_modules/@noble/hashes/src/sha3.ts',
9
+ '@noble/hashes/ripemd160':
10
+ '../node_modules/@noble/hashes/src/ripemd160.ts',
11
+ '@noble/hashes/sha512': '../node_modules/@noble/hashes/src/sha512.ts',
12
+ '@noble/hashes/pbkdf2': '../node_modules/@noble/hashes/src/pbkdf2.ts',
13
+ '@noble/hashes/utils': '../node_modules/@noble/hashes/src/utils.ts',
14
+ '@noble/hashes/crypto': '../node_modules/@noble/hashes/src/crypto.ts',
15
+ },
16
17
});
0 commit comments