Revise on local & Re-Deployment
Using the following way until I find out better way.
Overview
revise codes on local > build > check out > git push > firebase deploy
Detail
build
npm run build
serve -s build
git push
git add .
git commit -m "10Nov"
git push origin master
firebase deploy
firebase login
firebase init
? Are you ready to proceed? (Y/n) Yes
(*) Hosting: Configure and deploy Firebase Hosting sites
? What do you want to use as your public directory? (public) build
? Configure as a single-page app (rewrite all urls to /index.html)? (y/N) No
? Set up automatic builds and deploys with GitHub? (y/N) No
? File build/index.html already exists. Overwrite? (y/N) No
? File build/index.html already exists. Overwrite? No
firebase deploy
I am blogging what I’ve learned to find later here for myself. If you happened to read this shit and there is wrong information, it would be appreciated to add a comment below.