withMappedEndpointPort
Method
interface NxAppResource { // ... omitted for brevity withMappedEndpointPort(endpointName?: string): JavaScriptAppResource;}Signature
method
withMappedEndpointPort builderMaps the endpoint port for the JavaScript app resource to the appropriate command line argument
withMappedEndpointPort(endpointName?: string): JavaScriptAppResourceParameters
endpointName stringoptionalThe name of the endpoint to map. If not specified, it will use the first HTTP or HTTPS endpoint found.Returns
JavaScriptAppResource Applies to
This method applies to the following types: