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, ...