Steps to Install Webpack
If you want to use web pack then first you need to install that. So for installing the webpack using the node package manager use this command in the terminal.
npm i --save-dev webpack
The updated devDependencies in package.json file.
"devDependencies": {
"webpack": "^5.89.0"
}
What are the advantages of using Webpack ?
Webpack is a famous module builder that we extensively use during our Web Development Journey. It is used for those applications that use Javascript.
Before moving forward, we should note that Webpack only understands JavaScript and JSON. So it converts other frontend files like HTML and CSS into modules with the help of a loader and thus provides a complete frontend solution to us. It internally makes a dependency graph while processing any application.
Table of Content
- Features of Webpack
- Steps to Install Webpack
- Advantages of using WebPack
- Application of Webpack