How can I ignore / not bundle a file?
Open
- Dominant language
- TypeScript
- Stars
- 11.3k
- Forks
- 275
- PR merge metrics
- No merged PRs in 30d
Description
I wrote a cli tool that imports package.json to display the version. I want to be able to target the main package.json and not bundle it. How can I do this?
Contributor guide
Research direction
Begin with the CLI invocation that imports package.json and trace how tsup handles that import during bundling. Confirm the expected behavior by checking whether the built CLI can read the target package.json at runtime without embedding it; the issue names no repository file or test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100