Skip to content

Commit

Permalink
fix rollup build error for wallet connect
Browse files Browse the repository at this point in the history
  • Loading branch information
yuetloo committed Jul 17, 2023
1 parent a193d8a commit 123d46f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions vue-app/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,13 @@ export default defineConfig({
build: {
target: 'esnext', // to enable Big integer literals
chunkSizeWarningLimit: 6300,
commonjsOptions: {
transformMixedEsModules: true, // to enable @walletconnect/web3-provider which has some code in CommonJS
},
rollupOptions: {
output: {
manualChunks: {
'google-spreadsheet': ['google-spreadsheet'],
'@kleros/gtcr-encoder': ['@kleros/gtcr-encoder'],
'@vuelidate': ['@vuelidate/core', '@vuelidate/validators'],
maci: ['@clrfund/maci-utils'],
'@walletconnect/web3-provider': ['@walletconnect/web3-provider'],
qrcode: ['qrcode'],
},
},
Expand Down

0 comments on commit 123d46f

Please sign in to comment.