Skip to content
Docs Try Aspire

withPnpm

Function
📦 Aspire.Hosting.JavaScript v13.2.0-preview.1.26159.1
interface NodeAppResource {
// ... omitted for brevity
withPnpm(
install?: boolean,
installArgs?: string[]): JavaScriptAppResource;
}

Signature

method withPnpm builder
Configures pnpm as the package manager
withPnpm(
install?: boolean,
installArgs?: string[]): JavaScriptAppResource
install boolean optional = True
installArgs string[] optional
JavaScriptAppResource

Applies to

This function is an extension method on the following types: