Yarn build vs yarn build:production? What is the difference? I am still having issues understanding

I did configure that part which weird. I try to search which file contained example.test but i couldn’t find anything. I am using MAMP though so my local site URL is http://localhost/sageutah/ which is the way i have config.json configured.