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