-
-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
When including the library in a next.js app, I see the following errors:
Server Error: ReferenceError: self is not defined- Manually replacing
selfwithglobalThisin yourbuild/index.jsleads to:Server Error: ReferenceError: document is not defined
Both of these happen because neither self nor document globals exist in a server-side-rendered environment.
Metadata
Metadata
Assignees
Labels
No labels