Skip to content

Repository script API / build / normalizeBuildRequest

Function: normalizeBuildRequest() ​

normalizeBuildRequest(args): object

Defined in: build.mjs:50

Choose the Turbo task from the wrapper flags and retain all Turbo arguments for forwarding.

Parameters ​

args ​

any

Arguments received by the root build script.

Returns ​

object

The selected Turbo task, forwarded arguments, and dry-run mode.

args ​

args: string[] = forwardedArgs

dryRun ​

dryRun: boolean

task ​

task: string

pumpkin-plugins documentation