run
Runs an arbitrary pnpm script (pnpm run <target>).
@pnpm run {
target = "build:prod"
args = "--watch"
recursive = true
}
Caching and batching
| Setting | Value |
|---|---|
| Cache mode | local |
| Batchable | no |
| Platform sensitivity | Unknown |
Argument Reference
The following arguments are supported:
target- (Required) Script name.args- (Optional) Extra script arguments.recursive- (Optional) Adds--recursive. Default value istrue.