Join our book community on Discord
https://packt.link/EarlyAccess
A web application should typically run on the web and be accessible by anyone and from anywhere. It needs two essential ingredients: a web server hosting the application and a production build to deploy it to that server. In this chapter, we will focus on the second part of the recipe. But what do we mean by production build?
In a nutshell, a production build of a web application is an optimized version of the application code that is smaller, faster, and more performant. Primarily, it is a process that takes all the code files of the application, applies optimization techniques, and converts them to a single bundle file.
In the previous chapters, we have gone through many parts involved in building an Angular application. We need just one last piece to connect the dots and make our application available for anyone to use, which is to build it and deploy it to a web server.
In this chapter, we will learn the following...