Ok, after trying almost everything, I found this setting that fixed my build. Instead of target: serverless
use:
target: "experimental-serverless-trace",
Please anyone can explain why this setting is necessary to use next-i18next
?
You can see my site online at:
And my site repository, if it helps:
My deploy settings are:
Build command: next build
Publish directory: Not set