withYarn
Method
interface BunAppResource { // ... 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
JavaScriptAppResourceApplies to
This method applies to the following types: