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

"ReferenceError: window is not defined" when used with server-side rendering #5

Closed
davidsandoz opened this issue Oct 10, 2018 · 2 comments

Comments

@davidsandoz
Copy link

Description

When using this plugin in a project that is server-side rendered, we get the error ReferenceError: window is not defined indist/index.js:1:278, because window does not exist in a server-side environment.

Expected behaviour

The plugin should be working with server-side rendering.

@KaniRobinson
Copy link
Member

Issue is fixed in v0.1.2

@davidsandoz
Copy link
Author

Thanks!

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

No branches or pull requests

2 participants