withBuildScript
Method
interface BunAppResource { // ... omitted for brevity withBuildScript( scriptName: string, args?: string[]): JavaScriptAppResource;}Signature
method
withBuildScriptbuilderAdds a build script annotation to the resource builder using the specified command-line arguments.
withBuildScript( scriptName: string, args?: string[]): JavaScriptAppResourceParameters
scriptNamestringargsstring[]optionalReturns
JavaScriptAppResourceApplies to
This method applies to the following types: