Closed
Description
We are using Jitsu to track analytics
But because of this it cannot be used in middleware
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
The error was caused by importing '@jitsu/js/dist/jitsu.es.js' in in '../../packages/analytics/src/index.ts'
Metadata
Metadata
Assignees
Labels
No labels