egoist / egoist/tsup

invalid config path is silently ignored

Open
#1,098 0 comments 2 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.