I deployed a project using Next.js (13v) static export (SSG) and hosted the generated files on AWS S3.
The project uses the Clipboard API, and it works in the local environment, but not in the production environment.
Upon inspection, I noticed that the clipboard
property is missing in the window.navigator
object in the production environment.
Is it possible that certain browser APIs cannot be used in statically generated files?