summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorWinter <winter@winter.cafe>2022-11-10 11:11:29 -0500
committerWinter <winter@winter.cafe>2022-11-21 15:00:08 -0500
commit93334f5234211e2cb17c58bb1f9dfe4963f7fb82 (patch)
tree30ae84444eadc830430840ef542bf4e033649bdd /doc
parent80ecb954e988a135422677f32b341718fe271289 (diff)
npmHooks.npmInstallHook: pass install flags to prune
Diffstat (limited to 'doc')
-rw-r--r--doc/languages-frameworks/javascript.section.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/languages-frameworks/javascript.section.md b/doc/languages-frameworks/javascript.section.md
index 490daf991588a..fa10747dacc41 100644
--- a/doc/languages-frameworks/javascript.section.md
+++ b/doc/languages-frameworks/javascript.section.md
@@ -196,7 +196,7 @@ buildNpmPackage rec {
 * `makeCacheWritable`: Whether to make the cache writable prior to installing dependencies. Don't set this unless npm tries to write to the cache directory, as it can slow down the build.
 * `npmBuildScript`: The script to run to build the project. Defaults to `"build"`.
 * `npmFlags`: Flags to pass to all npm commands.
-* `npmInstallFlags`: Flags to pass to `npm ci`.
+* `npmInstallFlags`: Flags to pass to `npm ci` and `npm prune`.
 * `npmBuildFlags`: Flags to pass to `npm run ${npmBuildScript}`.
 * `npmPackFlags`: Flags to pass to `npm pack`.