should i install webpack globally code example
Example 1: install webpack
npm install --save-dev webpack
# or specific version
npm install --save-dev webpack@<version>
Example 2: install webpack cli
npm install --save-dev webpack-cli
npm install --save-dev webpack
# or specific version
npm install --save-dev webpack@<version>
npm install --save-dev webpack-cli