Vercel Edge not Supported
deevo-sage opened this issue · 2 comments
deevo-sage commented
Expected Behavior
Should be deployable to Vercel Edge
Actual Behavior
this error pops up if the runtime is set to 'edge'
Steps to Reproduce
import parse from "html-react-parser";
export const runtime = "edge";
const html = `<div>hello</div>`;
export default function TestPage() {
const parsedHTML = parse(html || "", {
trim: true
});
return parsedHTML;
}Reproducible Demo
https://codesandbox.io/p/sandbox/confident-panini-t7ww8l
Environment
- Version: 4.2.9
- Platform: Nextjs
- Browser: Arc & Chrome
- OS: Mac OS
remarkablemark commented
@deevo-sage can you try this? #736 (comment)
deevo-sage commented
Thanks @remarkablemark , it worked :)