Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/cliPublic

Commitbc66ffa

Browse files
authored
docs: update --no-optional to --omit=optional (#5304)
1 parent0d4ed0f commitbc66ffa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎docs/content/configuring-npm/package-json.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ be found or fails to install, then you may put it in the
873873
`optionalDependencies` object. This is a map of package name to version or
874874
url, just like the`dependencies` object. The difference is that build
875875
failuresdo not cause installation to fail. Running`npm install
876-
--no-optional` will prevent these dependencies from being installed.
876+
--omit=optional` will prevent these dependencies from being installed.
877877

878878
It is still your program's responsibility to handle the lack of the
879879
dependency. For example, something like this:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp