Closed stutrek closed 7 years ago
Thanks, Stu!
You're welcome! I'd like to say it was for the community, but this PR is a little bit self serving 😄
Can you npm publish the update?
Ha ha, I appreciate the fix regardless, :smile: . It's published now!
When using webpack
this
is undefined, and window is undefined on the server. This breaks isomorphic apps. All that needs to be done is to check to see if global is falsy.I don't know how you make your dist files, so I didn't do any of that.