11 Angular in production
This chapter covers
- How to properly build Angular for production environments
- Ways to architect your application for best practices
- Inspecting your final bundle to determine how dependencies impact your app
- Deployment options and a sample Dockerfile
So, you’ve built your application—now what? That’s a loaded question, but we’ll try to unpack it in this chapter. You could do or focus on a lot of things, but not everything is necessary in all projects. There are many general web development things you can do, such as enabling gzip on your server, and there are things specific to Angular, such as ensuring you run the build using Ahead-of-Time compilation.
The way we’ve been developing our application by running
Get Angular in Action 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.