Skip to content
Docs Try Aspire
Docs Try

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

Applies to

This method applies to the following types: