DEV Community

Ushahemba Shir
Ushahemba Shir

Posted on

Difference between devDependencies and Dependencies.

The difference between these two, is that devDependencies are modules which are only required during development, while dependencies are modules which are also required at runtime.
To save a dependency as a devDependency on installation we need to do an npm install --save-dev, instead of just an npm install --save.,an%20npm%20install%20%2D%2Dsave.

Top comments (0)