EN
npm - what does -D flag mean in "npm install -D <package_name>"?
1
answers
0
points
I wanted to install sass and I'm not sure what does the-D flag mean in the command below:
npm install -D sass
1 answer
0
points
The -D flag is a shorthand for --save-dev that saves the package as a dev-dependency.
Note:
Dev-dependencies are packages in the
package.jsonfile that you need only for project development purposes.
0 comments
Add comment