diff --git a/examples/react-wagmi/vite.config.js b/examples/react-wagmi/vite.config.js index 12f7f53e5c..b49628cab0 100644 --- a/examples/react-wagmi/vite.config.js +++ b/examples/react-wagmi/vite.config.js @@ -2,5 +2,15 @@ import react from '@vitejs/plugin-react' import { defineConfig } from 'vite' export default defineConfig({ - plugins: [react()] + plugins: [react()], + build: { + rollupOptions: { + external: ['@walletconnect/logger'], + }, + }, + resolve: { + alias: { + '@walletconnect/logger': require.resolve('@walletconnect/logger'), + }, + }, })