Serve your build directory with a single command
Add serve-build
to your project
$ yarn add serve-build
Add serve-build
as a start script to your package.json
"scripts:" {
"start": "serve-build"
}
Start serving build/
folder
$ yarn start
> Build is serving on port: 3000