egoist / egoist/tsup

Allow full no externals

Open
#1,346 1 comment 4 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
11.3k
Forks
275
PR merge metrics
No merged PRs in 30d

Description

Tried to put: `externals:[]` in the config file doesn't works, still considering all dependencies of the `package.json` as external. It would be great to have an option to fully package all without requiring a `package.json` / `node_modules`

Contributor guide

Open the contributing guide

Research direction

Start by tracing how the tsup config interprets externals:[] and how package.json dependencies are discovered. Add a regression test for a project without package.json or node_modules, and verify that an empty externals list bundles all dependencies rather than treating them as external.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
build-system, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.