Skip to content
Docs Try Aspire
Docs Try

publishAsNodeServer

Method
📦 Aspire.Hosting.JavaScript v13.4.0
interface BunAppResource {
// ... omitted for brevity
publishAsNodeServer(
entryPoint: string,
outputPath?: string): JavaScriptAppResource;
}

Signature

method publishAsNodeServer builder
Configures the JavaScript application to publish as a standalone Node.js server that runs a built artifact directly.
publishAsNodeServer(
entryPoint: string,
outputPath?: string): JavaScriptAppResource
entryPoint string
outputPath string optional = .
JavaScriptAppResource

Applies to

This method applies to the following types: