invalid config path is silently ignored
Open
- Dominant language
- TypeScript
- Stars
- 11.3k
- Forks
- 275
- PR merge metrics
- No merged PRs in 30d
Description
Repro:
1. `tsup --config YOURSTUPIDFACE`
Expected: an error that tsup couldn't find YOURSTUPIDFACE
Actual: tsup builds with defaults and no warnings/errors
I had a typo in my config filename and such an error would have saved me much time.
Thank you!
Contributor guide
Research direction
Start by tracing how the tsup CLI handles the --config argument in the reproduced command. Check the behavior for a nonexistent config path and confirm that a clear error is reported instead of silently using defaults; verify the existing valid-config behavior remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100