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