Facebook provides a create-react-app
command to build react apps. When we run npm run build
, we see output in /build
folder.
You can update the configuration with a little hack, under your root directory:
replace --your directory of choice-- with the folder directory you want it to build on
note the path I provided can be a bit dirty, but this is all you need to do to modify the configuration.