4.0.0 (2021-02-17)
Bug Fixes
- stop replacing
process.env.NODE_ENV
(7a1e001)
BREAKING CHANGES
- tsup will no longer replace
process.env.NODE_ENV
withproduction
ordevelopment
, cuz tsup is designed for bundling Node.js libraries, therefore it doesn't make sense to replace it at build time, however you can still enable this by using--replaceNodeEnv
flag.