NpmInstallSettingsExtensions.

WithoutOptionalDependencies(NpmInstallSettings) Method

Summary

Defines that npm should prevent optional dependencies from being installed

Syntax

public static NpmInstallSettings WithoutOptionalDependencies(this NpmInstallSettings settings)

Parameters

Name Type Description
settings NpmInstallSettings The settings.

Return Value

Type Description
NpmInstallSettings The settings instance with NoOptional set to true.
GitHub
Discussion