Static build from preview data

Would it be possible to somehow create static build from what is visible in preview mode.

I have a staging link and the regular preview mode works well when editing but doesn't always work that well for sharing with stakeholders, who may not even have a Prismic account.

Although I understand this isn't a feature that exist I'm curious if it would be technically possible, perhaps manually setting a "ref" upon build?

It doesn't have to be perfect but would help tremendously when sharing new features with a wider non-technical team.

I'm currently using NextJS.


I think you can achieve this by using the "ref" from a release.

When you create a release in Prismic, it generates a specific "ref" that represents the content at that point in time. You can use this "ref" to fetch and render the content in your Next.js application during the build process.