contentlayerdev / contentlayerdev/next-contentlayer-example
Example does not run on vercel edge?
- Lenguaje dominante
- TypeScript
- Estrellas
- 104
- Forks
- 37
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Here is the repo:
https://github.com/yongyi520/contentlayer-example
I have cloned this repo and simply added
`export const runtime = 'edge' // 'nodejs' (default) | 'edge'`
on all pages
When I tried to deploy it to vercel, I got this issue:
**EvalError: Code generation from strings disallowed for this context**

Everything works fine on nodejs serverless, but when it's on edge it throws error somehow
Is there a workaround for this?
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.