Whenever I refresh the page I get "document is not defined"
iWanheda opened this issue · 3 comments
iWanheda commented
iWanheda commented
Even if I just import it I get the error, without even using it!
RyanWarner commented
MajorBreakfast commented
The problem also exists when doing SSR in SvelteKit. While screenfull can't offer functionality on the server, it could be inert, and not throw on import.