这是indexloc提供的服务,不要输入任何密码
Skip to content
Discussion options

You must be logged in to vote

In general, dependencies are things that run in production and devDependencies are things that you only need while developing.

That said, you may care more about this distinction if:

  1. You're publishing your packages. Using devDependencies will create smaller package downloads.
  2. You want to use the --production flag with your package manager to have faster install times in CI.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by anthonyshew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants