Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKyra <kyranet@users.noreply.github.com>2018-03-08 11:19:53 +0300
committerKat Marchán <kzm@sykosomatic.org>2018-03-09 01:20:38 +0300
commit71076ebdaddd04f2bf330fe668f15750bcff00ea (patch)
treea64dc5e9b8f823e5dd01ff7da3b7591fdf461e52 /doc
parent1dc6b3b525967bc8526aa4765e987136cb570e8e (diff)
docs: Add a note to install --production. (#19950)
PR-URL: https://github.com/npm/npm/pull/19950 Credit: @kyranet Reviewed-By: @zkat
Diffstat (limited to 'doc')
-rw-r--r--doc/cli/npm-install.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/cli/npm-install.md b/doc/cli/npm-install.md
index 8bee6cf2d..58220b1bc 100644
--- a/doc/cli/npm-install.md
+++ b/doc/cli/npm-install.md
@@ -54,6 +54,9 @@ after packing it up into a tarball (b).
With the `--production` flag (or when the `NODE_ENV` environment variable
is set to `production`), npm will not install modules listed in
`devDependencies`.
+
+ > NOTE: The `--production` flag has no particular meaning when adding a
+ dependency to a project.
* `npm install <folder>`: