© Mark Clow 2018
Mark ClowAngular 5 Projectshttps://doi.org/10.1007/978-1-4842-3279-8_10

10. Introducing Webpack

Mark Clow1 
(1)
Sandy Springs, Georgia, USA
 

Nowadays you can do a lot more stuff in modern browsers, and this is going to increase even more in the future. Thanks to technologies like Angular 5, there will be fewer page reloads and more JavaScript code in each page, a lot of code on the client side. You need a way to deploy all this code efficiently so that it loads quickly.

Your complex client-side application may contain modules, some of which may load synchronously, some asynchronously. So how do we package it all and deploy it most efficiently – we use Webpack!

Webpack and the Angular CLI

The Angular CLI uses Webpack to transpile, compile, ...

Get Angular 5 Projects: Learn to Build Single Page Web Applications Using 70+ Projects 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.