© Adam Freeman 2017

Adam Freeman, Pro Angular, 10.1007/978-1-4842-2307-9_10

10. SportsStore: Deployment

Adam Freeman

(1)MILTON KEYNES MK6 3PA, UK

In this chapter, I prepare the SportsStore application for deployment by incorporating all of the application content and the Angular framework into a single file and “containerizing” the application using Docker.

Stopping the TypeScript Compiler

For this chapter, it is important that you stop the TypeScript compiler, which is started with the npm start command. The TypeScript compiler conflicts with the special compiler that is used to prepare Angular applications for deployment.

Working Around a Compiler Bug

The process that I follow to prepare SportsStore for deployment packages all of the resources required ...

Get Pro Angular, Second 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.