run

Runs an arbitrary pnpm script (pnpm run <target>).

@pnpm run {
    target = "build:prod"
    args = "--watch"
    recursive = true
}

Capabilities

CapabilityInfo
Cachelocal
Bachno

Argument Reference

The following arguments are supported:

  • target - (Required) Script name.
  • args - (Optional) Extra script arguments.
  • recursive - (Optional) Adds --recursive. Default value is true.
Last updated on