JavaScriptAppResource.withBuildScript
Method
interface JavaScriptAppResource { // ... omitted for brevity withBuildScript( scriptName: string, args?: string[]): JavaScriptAppResource;}Signature
method
withBuildScript builderAdds a build script annotation to the resource builder using the specified command-line arguments.
withBuildScript( scriptName: string, args?: string[]): JavaScriptAppResourceParameters
scriptName stringThe name of the script to be executed when the resource is built.argsstring[]optionalAn array of command-line arguments to use for the build script.Returns
JavaScriptAppResource Defined on
This method is defined on the following type: