Hey all, we have used create-react-app to set a site up with netlify.
Our settings are:
Base directory: Not set (we want to use the root folder of our repo)
Production branch: master
Build command: npm run build
Publish directory: build/
In our master branch which netlify points at, inspecting the build folder in github shows only the minified files that npm run build spits out.
However, viewing files in the directory tree through devtools on the published site shows unminified files from our project.
We didn’t use a netlify.toml and did everything through the site itself.