Webpack in Angular
Webpack is a bundler. it scans our application looking for javascript files and merges them into one ( or more) big file.
Webpack has the ability to bundle any kind of file like JavaScript, CSS, SASS, LESS, images, HTML, & fonts, etc.
The Angular CLI uses Webpack as a module bundler. Webpack needs a lot of configuration options to work correctly.
The Angular CLI sets up all these configuration options behind the scene.
The Webpack traverses through our application, looking for javascript and other files, and merges all of them into one or more bundles..