Skip to content
Docs Try Aspire
Docs Try

JavaScriptAppResource.publishAsNodeServer

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

Signature

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

Defined on

This method is defined on the following type: