Hi, I am using next.js v14 with edge runtime.
I get this error on build:
Failed to compile.
./node_modules/mailgun.js/mailgun.web.js
Dynamic Code Evaluation (e. g. 'eval', 'new Function', 'WebAssembly.compile') not allowed in Edge Runtime
Learn More: https://nextjs.org/docs/messages/edge-dynamic-code-evaluation
Import trace for requested module:
./node_modules/mailgun.js/mailgun.web.js
How can this be fixed?
Hi, I am using next.js v14 with
edgeruntime.I get this error on build:
Failed to compile.
./node_modules/mailgun.js/mailgun.web.js
Dynamic Code Evaluation (e. g. 'eval', 'new Function', 'WebAssembly.compile') not allowed in Edge Runtime
Learn More: https://nextjs.org/docs/messages/edge-dynamic-code-evaluation
Import trace for requested module:
./node_modules/mailgun.js/mailgun.web.js
How can this be fixed?