JavaScriptAppResource.withYarn
Method
interface JavaScriptAppResource { // ... omitted for brevity withYarn( install?: boolean, installArgs?: string[]): JavaScriptAppResource;}Signature
method
withYarnbuilderConfigures the Node.js resource to use yarn as the package manager and optionally installs packages before the application starts.
withYarn( install?: boolean, installArgs?: string[]): JavaScriptAppResourceParameters
installbooleanoptional= TrueinstallArgsstring[]optionalReturns
JavaScriptAppResourceDefined on
This method is defined on the following type: