From 123d46f5662582a9e5ba4e9073b63006d04c9468 Mon Sep 17 00:00:00 2001 From: yuetloo Date: Mon, 17 Jul 2023 19:05:04 -0400 Subject: [PATCH] fix rollup build error for wallet connect --- vue-app/vite.config.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/vue-app/vite.config.ts b/vue-app/vite.config.ts index 2caf04de9..0deac1e96 100644 --- a/vue-app/vite.config.ts +++ b/vue-app/vite.config.ts @@ -42,9 +42,6 @@ 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: { @@ -52,7 +49,6 @@ export default defineConfig({ '@kleros/gtcr-encoder': ['@kleros/gtcr-encoder'], '@vuelidate': ['@vuelidate/core', '@vuelidate/validators'], maci: ['@clrfund/maci-utils'], - '@walletconnect/web3-provider': ['@walletconnect/web3-provider'], qrcode: ['qrcode'], }, },