We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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'
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?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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?
The text was updated successfully, but these errors were encountered: