Skip to content

Commit

Permalink
chore: experiment rollup option
Browse files Browse the repository at this point in the history
  • Loading branch information
magiziz committed Sep 25, 2024
1 parent 2928e77 commit 59cbe4c
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion examples/react-wagmi/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
},
},
})

0 comments on commit 59cbe4c

Please sign in to comment.