13

Bringing an Application to Production

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 went through many parts involved in building an Angular ...

Get Learning Angular - Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.