Skip to content
DocsTry Aspire
DocsTry

addBunApp

Method
📦 CommunityToolkit.Aspire.Hosting.Bun v13.5.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addBunApp(
name: string,
workingDirectory?: string,
entryPoint?: string,
watch?: boolean): BunAppResource;
}

Signature

methodaddBunAppbuilder
Adds a Bun app to the builder.
addBunApp(
name: string,
workingDirectory?: string,
entryPoint?: string,
watch?: boolean): BunAppResource
namestring
workingDirectorystringoptional
entryPointstringoptional= index.ts
watchbooleanoptional= False
BunAppResource

Applies to

This method applies to the following types: