Creating a production build

Finally, we're ready to get this all bundled up and ready for a production deployment! Our code is done, our code works, and everything is great; so, what do we do now?

It's simple; we just run yarn build and call it a day! Well, that's most of the process. You see, when you run yarn build, Create React App tries to figure out the best, most efficient way to bundle up everything that you've been working on in your Create React App project and minify/productionize everything that you've writtenevery image and asset that you've added, every library that needs to be includedeverything.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset