egoist / egoist/tsup

How to add file env to bundle?

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

Description

How to add file env to bundle ? I need a method like this `--env ./config.env` but in the documentation like this `--env.NODE_ENV production` which is like redefining it in the CLI

I hope you help me, thank you in advance for this great package

Contributor guide

Open the contributing guide

Research direction

The issue names no file, test, or entry point. Start by checking tsup's CLI documentation and the existing --env handling; done means the supported way to load a .env file, or the limitation, is clearly documented.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.