Skip to content
Docs Try Aspire
Docs Try

withPnpm

Method
📦 Aspire.Hosting.JavaScript v13.4.0
interface BunAppResource {
// ... omitted for brevity
withPnpm(
install?: boolean,
installArgs?: string[]): JavaScriptAppResource;
}

Signature

method withPnpm builder
Configures the Node.js resource to use pnpm as the package manager and optionally installs packages before the application starts.
withPnpm(
install?: boolean,
installArgs?: string[]): JavaScriptAppResource
install boolean optional = True
installArgs string[] optional
JavaScriptAppResource

Applies to

This method applies to the following types: