Skip to content
Docs Try Aspire

withBun

Function
📦 Aspire.Hosting.JavaScript v13.2.0-preview.1.26159.1
interface NodeAppResource {
// ... 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

Applies to

This function is an extension method on the following types: