JavaScriptAppResource.publishAsStaticWebsite
Method
interface JavaScriptAppResource { // ... omitted for brevity publishAsStaticWebsite( apiPath?: string, apiTarget?: IResourceWithServiceDiscovery, outputPath?: string, stripPrefix?: boolean, targetEndpointName?: string): JavaScriptAppResource;}Signature
method
publishAsStaticWebsite builderPublishes the JavaScript application as a standalone static website using YARP.
publishAsStaticWebsite( apiPath?: string, apiTarget?: IResourceWithServiceDiscovery, outputPath?: string, stripPrefix?: boolean, targetEndpointName?: string): JavaScriptAppResourceParameters
apiPath stringoptionalapiTarget IResourceWithServiceDiscovery optionaloutputPath stringoptional= diststripPrefix booleanoptional= FalsetargetEndpointName stringoptionalReturns
JavaScriptAppResource Defined on
This method is defined on the following type: