-
Notifications
You must be signed in to change notification settings - Fork 6
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 in node_modules/monolite/lib/monolite/index.js:1 #46
Comments
Hi, would you accept a PR containing the suggested change ? |
@medfreeman Sorry, just coming back here. (Gonna try to keep my Github notifications clean from now on) |
This is because of webpack/webpack#6522 |
Nice, thanks a lot! |
Should be fixed now. |
With 0.9.0, i still get the error while calling the function:
|
Ok there was an issue with deployment. Thanks for your report. |
I just installed the latest version of monolite, but when I import it into a script, I get the following error:
If I edit index.js and replace the one instance of
window
with{}
, then everything runs as expected. Any idea why the superfluouswindow
reference is in index.js?Cheers!
The text was updated successfully, but these errors were encountered: