install webpack version 4 code example
Example 1: instamm webpack 4.42.0 how with command
npm install --save-dev webpack
# or specific version
npm install --save-dev webpack@<version>
Example 2: webpack install
npm install --save-dev webpack-cli