This is my portfolio project made with Gatsby, and deployed to GitHub Pages. You can visit it here
Also, you can customize it for your own use.
yarn develop
yarn start
In order to deploy, you need to have a branch called
prod
in your repository, which should be the source branch in GitHub Pages. After that, you can run the following command.
yarn deploy
Also, if you have a custom domain configured, it would help to have a
CNAME
file in public folder.
To view bundle sizes interactively, use the following command.
yarn analyze
If you just need the JSON report, building for production will be enough,
report.json
file will be present in the/public
path after build.
yarn build