withMappedEndpointPort
Method
interface NxAppResource { // ... omitted for brevity withMappedEndpointPort(endpointName?: string): JavaScriptAppResource;}Signature
method
withMappedEndpointPortbuilderMaps the endpoint port for the JavaScript app resource to the appropriate command line argument
withMappedEndpointPort(endpointName?: string): JavaScriptAppResourceParameters
endpointNamestringoptionalReturns
JavaScriptAppResourceApplies to
This method applies to the following types: