Closed totalolage closed 4 years ago
Thanks for the quick response. Unfortunately, using optional chaining here would make it throw on many of the supported browsers.
Also, if you don't include
typeof self === "undefined"
, it can still throw in your environment.
Sorry about that, I've so far only worked on bigger projects that get Babel
ed. Force of habit.
Merged, thanks!
This was preventing the NPM package from working with my NEXT project.