Webpack 5 featured architectural changes that set the stage for future user-friendly improvements. Here’s what to look for going forward.

Webpack is a JavaScript module bundler that transforms web assets like HTML, CSS, JavaScript, and SVG files and bundles them into a smaller group of files.

webpack also helps in chunking (divide into smaller units) and managing code dependencies to ensure that the code that is supposed to load first does so.

Webpack chunking and bundling diagram

How webpack works [Image credit: webpack.js.org]

In this article, we will jump into some of the new features to watch out for in webpack in 2021, but first, we’ll review what was new in webpack for 2020.

#webpack #javascript #web-development

Changes Coming to Webpack in 2021
2.05 GEEK