I’m trying to make uppy work in nextjs. Nextjs tries to render every page on the server first and will also evaluate and create bundles on the server. Uppy uses native browser APIs such as document
and window
which aren’t defined on the server.
Is there a way to make it work regardless?
Here’s a sandbox illustrating the problem: Next.js Starter - StackBlitz