Currently, the answer seems to be that you can't.
There is a recent suggestion on their GitHub to add such a feature: https://github.com/vercel/next.js/discussions/51672