Posts

Showing posts from March, 2020

What is webpack

Webpack  is a popular module bundling system built on top of Node.  js . It can handle not only combination and minification of JavaScript and CSS files, but also other assets such as image files (spriting) through the use of plugins. At its core,  webpack  is a  static module bundler  for modern JavaScript applications. When webpack processes your application, it internally builds a  dependency graph  which maps every module your project needs and generates one or more  bundles . Webpack  is a build tool that puts all of your assets, including Javascript, images, fonts, and CSS, in a dependency graph. Webpack lets you use  require()  in your source code to point to local files, like images, and decide how they're processed in your final Javascript bundle, like replacing the path with a URL pointing to a CDN. View version without answers Table of Contents Concepts Config file Loaders Plugins Development Optimiz...