Hello!
I have an issue where our Next.js middleware is not executing. I am suspecting it is because we are using a monorepo (with turbo monorepo) and exporting a static site.
It works when running locally in next development and production mode.
Directory structure:
- apps/my-app/{next.js-application}
- apps/my-app/src/pages/_middleware.ts (not executing)
We are currently running Netlify and the builds and deployments work fine. I can send you the site id in PM.
Do you have an ideas on how to make it execute?
/Anders