Skip to content
DocsTry Aspire
DocsTry

addBunApp

Method
📦 Aspire.Hosting.JavaScript v13.4.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addBunApp(
name: string,
appDirectory: string,
scriptPath: string): BunAppResource;
}

Signature

methodaddBunAppbuilder
Adds a Bun application to the application model. Bun should be available on the PATH.
addBunApp(
name: string,
appDirectory: string,
scriptPath: string): BunAppResource
namestring
appDirectorystring
scriptPathstring
BunAppResource

Applies to

This method applies to the following types: