Closed daenuprobst closed 6 years ago
When the module is loaded through npm (especially with SSR) window is not defined.
Basically this means, if the module is used through import / require, bad things happen.
window.SmilesDrawer is no longer set in a server environment (SSR).
When the module is loaded through npm (especially with SSR) window is not defined.
Basically this means, if the module is used through import / require, bad things happen.