document$1.addEventListener is not a function
Closed this issue · 0 comments
andirsun commented
Related with my last problem #4 (comment)
When we define the window$1 on server side, the addEventListener is not going to be available.
Solution on mixpanel browser library: https://github.com/mixpanel/mixpanel-js/blob/1c4d98b4a485fbf4dc4421f00c33f3b19530b307/dist/mixpanel.cjs.js#L7203