'is there any difference between this commands to install webpack? "npm install webpack webpack-cli --save-dev" & "npm install -D webpack webpack-cli "
Hello everyone I´m learning about webpack and i saw this two ways to install it, I was wondering if there is any difference between this two ways:
this one is from webpack documentation
"npm install webpack webpack-cli --save-dev"
And this other I just saw it in a youtube tutorial
"npm install -D webpack webpack-cli "
thanks for your help and if there is any difference pleace let me know which is the best of both.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
