Watch Aspire live streamsDocsTry Aspire

withDenoTask

Method
📦 Aspire.Hosting.JavaScript v13.6.0
interface DenoAppResource {
// ... omitted for brevity
withDenoTask(taskName: string): DenoAppResource;
}

Signature

methodwithDenoTaskbuilder
Selects the `deno task <taskName>` mode, running a task defined in `deno.json` instead of a script entrypoint. Permissions are defined by the task itself and are not emitted for this mode.
withDenoTask(taskName: string): DenoAppResource
taskNamestring
DenoAppResource

Applies to

This method applies to the following types: