Custom _document not working as expected when using experimental-edge
runtime
#40440
Open
1 task done
Labels
bug
Issue was opened via the bug report template.
Verify canary release
Provide environment information
warn - Latest canary version not detected, detected: "12.3.0", newest: "12.3.1-canary.0".
Please try the latest canary version (
npm install next@canary
) to confirm the issue still exists before creating a new issue.Read more - https://nextjs.org/docs/messages/opening-an-issue
What browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
Describe the Bug
I'm using custom _document to change the body styles. But the classname is not applied when I checked. Also link and meta tags are not applied too.
My
next.config.js
looks like this;When I removed the experimental stuff, it works as expected.
Expected Behavior
Class names and everything inside the tag must be applied to the dom.
Link to reproduction
https://codesandbox.io/s/intelligent-swartz-qphdm6?file=/pages/_document.tsx
To Reproduce
The text was updated successfully, but these errors were encountered: