Skip to content
Docs Try Aspire

JavaScriptAppResource.withBun

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

Signature

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

Defined on

This method is defined on the following type: