Next.js has a public/ folder
Create stuff like public/favicon.png, public/robots.txt and that’s all you need.
And put your static folder inside public to keep your assets in it with all assets bundling and compressing benefits.
/public
/static
/images
/css
/fonts
robots.txt
manifest.json
Documentation