We're trying to use this library, but our app does server-side rendering. Since calling require on this library attempts to access the window object, this crashes node on the server-side.
Added the global library to allow for the use of the document object in node as well for server-side rendering.
Coverage decreased (-60.8%) to 9.036% when pulling 606a735c6d69e0b48141f5b4f568791c209c7f45 on scriptoLLC:use-global-document into f60dfd731c7a67e32619dfceb2e9dd715f660a07 on Mango:master.
We're trying to use this library, but our app does server-side rendering. Since calling
require
on this library attempts to access thewindow
object, this crashes node on the server-side.Added the
global
library to allow for the use of the document object in node as well for server-side rendering.