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'], }, },