google / google/wireit

Is it possible to pass extra argument flags to all dependencies?

Open
#571 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
6.4k
Forks
128
Avg merge
4d 10h
Merged PRs (30d)
4

Description

Is it possible to pass extra argument flags to all (or specific) dependencies in the chain?

```json
{
"scripts": {
"build": "wireit",
"bundle": "wireit"
},
"wireit": {
"build": {
"command": "tsc"
},
"bundle": {
"command": "rollup -c",
"dependencies": ["build"]
}
}
}
```

Ie. I want this
```bash
pnpm build -- --mode=production
```

to resolve to this
```bash
tsc --mode=production
```

I can see this being workaroundable if https://github.com/google/wireit/issues/93 gets implemented.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.