egoist / tsup

The simplest and fastest way to bundle your TypeScript libraries.
https://tsup.egoist.dev
MIT License
8.48k stars 209 forks source link

How to add file env to bundle? #1043

Open damartripamungkas opened 7 months ago

damartripamungkas commented 7 months ago

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

Upvote & Fund

Fund with Polar