Skip to content

Commit

Permalink
fix: try fix commonjs
Browse files Browse the repository at this point in the history
  • Loading branch information
JackHamer09 committed Mar 6, 2024
1 parent 5e74427 commit a56fe72
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ export default defineNuxtConfig({
rudderKey: process.env.RUDDER_KEY,
},
},
build: {
transpile: ["zksync-web3"],
},
vite: {
define: {
// make these env available even outside of the Nuxt context
Expand Down

0 comments on commit a56fe72

Please sign in to comment.