Chapter 10. Bundling and deploying applications with Webpack

This chapter covers

  • Bundling apps for deployment using Webpack
  • Configuring Webpack for bundling Angular apps in dev and prod
  • Integrating the Karma test runner into the automated build process
  • Creating a prod build for the online auction
  • Automating project generation and bundling with Anguar CLI

Over the course of this book, you’ve written and deployed multiple versions of the online auction and lots of smaller applications. Web servers properly served your applications to the user. So why not just copy all the application files to the production server, run npm install, and be done with deployment?

No matter which programming language or framework you use, you’ll want to achieve ...

Get Angular 2 Development with TypeScript 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.