publishAsNodeServer
Method
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): JavaScriptAppResourceParameters
entryPoint string outputPath string optional = . Returns
JavaScriptAppResource Applies to
This method applies to the following types: