Skip to content

Commit

Permalink
fix: wallet connect issue (#2501)
Browse files Browse the repository at this point in the history
  • Loading branch information
viet-nv authored Jun 11, 2024
1 parent 2f5eef3 commit 4813693
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import GlobalPolyFill from '@esbuild-plugins/node-globals-polyfill'
import lingui from '@lingui/vite-plugin'
import react from '@vitejs/plugin-react-swc'
import path from 'path'
import path, { resolve } from 'path'
import { defineConfig } from 'vite'
import checker from 'vite-plugin-checker'
import svgrPlugin from 'vite-plugin-svgr'
Expand Down Expand Up @@ -53,6 +53,10 @@ export default defineConfig({
'react-redux': 'react-redux/dist/react-redux.js',
'@': path.resolve(__dirname, './src/'),
'react-dom/client': 'react-dom/profiling',
'@walletconnect/ethereum-provider': resolve(
__dirname,
'node_modules/@walletconnect/ethereum-provider/dist/index.umd.js',
),
},
},
server: {
Expand Down

0 comments on commit 4813693

Please sign in to comment.