How to add file env to bundle?
Open
- 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
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