Skip to content
New issue

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

globalObject this #92

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

janczizikow
Copy link

@janczizikow janczizikow commented Apr 29, 2021

Fixes #69 #78 #81

Adjust webpack config to use this instead of window as a global object. This should solve the issues when using the library when doing SSR. I wasn't sure whether to run the build command or not, if not necessary please let me know then I'll revert the commit 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error running template: ReferenceError: document is not defined
1 participant