publishAsNodeServer
Method
interface BunAppResource { // ... omitted for brevity publishAsNodeServer( entryPoint: string, outputPath?: string): JavaScriptAppResource;}Signature
method
publishAsNodeServerbuilderConfigures the JavaScript application to publish as a standalone Node.js server that runs a built artifact directly.
publishAsNodeServer( entryPoint: string, outputPath?: string): JavaScriptAppResourceParameters
entryPointstringoutputPathstringoptional= .Returns
JavaScriptAppResourceApplies to
This method applies to the following types: