egoist / egoist/tsup

How can I ignore / not bundle a file?

Open
#1,249 0 comments 1 reaction 0 assignees View on GitHub
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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.