Hello! I am also having this problem with React app deployed to Azure App Service through the VSCode extension. I am never asked what directory I want to publish FROM like in the tutorial linked above (I believe this tutorial uses a previous VSCode extension version), and it says it is building the production mode of react in the output during the deployment, but when I go in to actually look at it, its in development mode.
A react app site in development mode will look unprofessional and insecure to tech-savvy clients.
Thank you!