Skip to content

Commit 9b75dea

Browse files
mugliclaudiahdz
authored andcommitted
chore(docs): Add how to install all deps when NODE_ENV=production
PR-URL: #232 Credit: @mugli Close: #232 Reviewed-by: @claudiahdz
1 parent b0437f7 commit 9b75dea

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/content/cli-commands/npm-install.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ after packing it up into a tarball (b).
6262

6363
With the `--production` flag (or when the `NODE_ENV` environment variable
6464
is set to `production`), npm will not install modules listed in
65-
`devDependencies`.
65+
`devDependencies`. To install all modules listed in both `dependencies`
66+
and `devDependencies` when `NODE_ENV` environment variable is set to `production`,
67+
you can use `--production=false`.
6668

6769
> NOTE: The `--production` flag has no particular meaning when adding a
6870
dependency to a project.

0 commit comments

Comments
 (0)