egoist/tsup
### [`v6.2.3`](https://togithub.com/egoist/tsup/releases/tag/v6.2.3)
[Compare Source](https://togithub.com/egoist/tsup/compare/v6.2.2...v6.2.3)
##### Bug Fixes
- **deps:** update bundle-require, fix [#695](https://togithub.com/egoist/tsup/issues/695) ([d074dd9](https://togithub.com/egoist/tsup/commit/d074dd9c33adf85bcd149e79c9d141517a956ce0))
- pass globalName to rollup for tree-shaking iife build ([#692](https://togithub.com/egoist/tsup/issues/692)) ([900a260](https://togithub.com/egoist/tsup/commit/900a260e4f6e98a6ed5b70165339a669dd2a8d38))
- respect exit code from onSuccess process, closes [#697](https://togithub.com/egoist/tsup/issues/697) ([dd9ef53](https://togithub.com/egoist/tsup/commit/dd9ef53e8442237b5c562806167c193b8d1d9836))
### [`v6.2.2`](https://togithub.com/egoist/tsup/releases/tag/v6.2.2)
[Compare Source](https://togithub.com/egoist/tsup/compare/v6.2.1...v6.2.2)
##### Bug Fixes
- **deps:** upgrade esbuild to 0.15, resolves [#690](https://togithub.com/egoist/tsup/issues/690) ([c3dc8d8](https://togithub.com/egoist/tsup/commit/c3dc8d8cc538e1639a8e169c04aad719bcf097f8))
- don't transform to cjs twice, resolves [#675](https://togithub.com/egoist/tsup/issues/675) ([7000c8b](https://togithub.com/egoist/tsup/commit/7000c8b6f5e69b801754a1846844cfc966f84571))
- make --treeshake work with hashbang ([c06b5e1](https://togithub.com/egoist/tsup/commit/c06b5e14269c1b1cba28d6951896bae6709d4d1a))
### [`v6.2.1`](https://togithub.com/egoist/tsup/releases/tag/v6.2.1)
[Compare Source](https://togithub.com/egoist/tsup/compare/v6.2.0...v6.2.1)
##### Bug Fixes
- properly log rollup errors ([#682](https://togithub.com/egoist/tsup/issues/682)) ([b595f72](https://togithub.com/egoist/tsup/commit/b595f72d8f1c03d59b70a3496db83dc7b4c01fb5))
- return a function in `onSuccess` to do cleanup ([64deb61](https://togithub.com/egoist/tsup/commit/64deb61f15d0832192af7f0f446997dfc3eda1b6))
### [`v6.2.0`](https://togithub.com/egoist/tsup/releases/tag/v6.2.0)
[Compare Source](https://togithub.com/egoist/tsup/compare/v6.1.3...v6.2.0)
##### Bug Fixes
- actually trigger rebuild when watched files change ([135ff39](https://togithub.com/egoist/tsup/commit/135ff397cdd580f87af782ac19492d0f8edda08c))
##### Features
- allow onSuccess callback in tsup config file ([#657](https://togithub.com/egoist/tsup/issues/657)) ([2087907](https://togithub.com/egoist/tsup/commit/20879071a9c0c279fb33ca59bd8e36f53437a1d8))
- improve minification for `--target es5` ([#664](https://togithub.com/egoist/tsup/issues/664)) ([34df1da](https://togithub.com/egoist/tsup/commit/34df1da747a2153b39586a1362c601717f133724))
- optimize tsconfig.json loading ([#660](https://togithub.com/egoist/tsup/issues/660)) ([407cec6](https://togithub.com/egoist/tsup/commit/407cec60f9eac300c6a0b2cc5608cfd7d6340639))
### [`v6.1.3`](https://togithub.com/egoist/tsup/releases/tag/v6.1.3)
[Compare Source](https://togithub.com/egoist/tsup/compare/v6.1.2...v6.1.3)
##### Bug Fixes
- fix `DataCloneError` when DTS is on ([#668](https://togithub.com/egoist/tsup/issues/668)) ([5040317](https://togithub.com/egoist/tsup/commit/504031796c01db50cb3edc790a28de462a83a1d2))
### [`v6.1.2`](https://togithub.com/egoist/tsup/releases/tag/v6.1.2)
[Compare Source](https://togithub.com/egoist/tsup/compare/v6.1.1...v6.1.2)
##### Bug Fixes
- make `--minify` work with es5 target, fix [#653](https://togithub.com/egoist/tsup/issues/653) ([8230221](https://togithub.com/egoist/tsup/commit/8230221e4ee689cf070e8e288f098f8484404d53))
### [`v6.1.1`](https://togithub.com/egoist/tsup/releases/tag/v6.1.1)
[Compare Source](https://togithub.com/egoist/tsup/compare/v6.1.0...v6.1.1)
##### Features
- **cli:** add `--tsconfig` flag to accept custom tsconfig path ([#652](https://togithub.com/egoist/tsup/issues/652)) ([58d0145](https://togithub.com/egoist/tsup/commit/58d0145e846def5a7a21a71ede8f58c2b72af92d))
- **minor:** use shell option for complex commands in onSuccess ([#649](https://togithub.com/egoist/tsup/issues/649)) ([be48b8b](https://togithub.com/egoist/tsup/commit/be48b8b7a5b0defaecf6c5d65b57f8efe8979dd2))
### [`v6.1.0`](https://togithub.com/egoist/tsup/releases/tag/v6.1.0)
[Compare Source](https://togithub.com/egoist/tsup/compare/v6.0.1...v6.1.0)
##### Bug Fixes
- allow `format` to be a string in config file ([0a96985](https://togithub.com/egoist/tsup/commit/0a969854fa76cc671041ffa5e71bfa5aec3a2314))
- ignore esbuild warning if silent is true ([#643](https://togithub.com/egoist/tsup/issues/643)) ([36e2199](https://togithub.com/egoist/tsup/commit/36e21993685a4bcd77d528640bc5383240368857))
##### Features
- allow to use an object as entry with `--entry` flag ([33a7c5f](https://togithub.com/egoist/tsup/commit/33a7c5f94e734b10c6fc9cf444edb8685dabdf58))
- new option `outExtension` ([b9cd8d5](https://togithub.com/egoist/tsup/commit/b9cd8d5f0973f94d494b8b0d0e65121e5712ee49))
- support custom config file with `--config` flag ([90f2d1a](https://togithub.com/egoist/tsup/commit/90f2d1ae3abbf6eeb965f791b3ddf199bc3cc95d))
### [`v6.0.1`](https://togithub.com/egoist/tsup/releases/tag/v6.0.1)
[Compare Source](https://togithub.com/egoist/tsup/compare/v6.0.0...v6.0.1)
##### Bug Fixes
- add missing `tsup-node` command ([a175339](https://togithub.com/egoist/tsup/commit/a1753393684b425d7f543a2a0a747df970c796fd))
### [`v6.0.0`](https://togithub.com/egoist/tsup/releases/tag/v6.0.0)
[Compare Source](https://togithub.com/egoist/tsup/compare/v5.12.9...v6.0.0)
#### Upgrade guide
- `shims` option is `false` by default: If you're dual-publishing (i.e. `--format esm,cjs`) and using platform specific API like `import.meta.url`, `__dirname` and `__filename`, you need to manually enable `--shims` flag now, because `import.meta.url` won't work in a `cjs` module, and `__dirname`, `__filename` won't work in an `esm` module.
- `target` option is now `node14` by default: previously it was `node12`, the minimal node version that tsup can run in is also changed to `node14`
#### New Features
- New `treeshake` option: You can use Rollup for tree-shaking now, read more https://tsup.egoist.sh/#tree-shaking
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^5.12.8
->^6.0.0
Release Notes
egoist/tsup
### [`v6.2.3`](https://togithub.com/egoist/tsup/releases/tag/v6.2.3) [Compare Source](https://togithub.com/egoist/tsup/compare/v6.2.2...v6.2.3) ##### Bug Fixes - **deps:** update bundle-require, fix [#695](https://togithub.com/egoist/tsup/issues/695) ([d074dd9](https://togithub.com/egoist/tsup/commit/d074dd9c33adf85bcd149e79c9d141517a956ce0)) - pass globalName to rollup for tree-shaking iife build ([#692](https://togithub.com/egoist/tsup/issues/692)) ([900a260](https://togithub.com/egoist/tsup/commit/900a260e4f6e98a6ed5b70165339a669dd2a8d38)) - respect exit code from onSuccess process, closes [#697](https://togithub.com/egoist/tsup/issues/697) ([dd9ef53](https://togithub.com/egoist/tsup/commit/dd9ef53e8442237b5c562806167c193b8d1d9836)) ### [`v6.2.2`](https://togithub.com/egoist/tsup/releases/tag/v6.2.2) [Compare Source](https://togithub.com/egoist/tsup/compare/v6.2.1...v6.2.2) ##### Bug Fixes - **deps:** upgrade esbuild to 0.15, resolves [#690](https://togithub.com/egoist/tsup/issues/690) ([c3dc8d8](https://togithub.com/egoist/tsup/commit/c3dc8d8cc538e1639a8e169c04aad719bcf097f8)) - don't transform to cjs twice, resolves [#675](https://togithub.com/egoist/tsup/issues/675) ([7000c8b](https://togithub.com/egoist/tsup/commit/7000c8b6f5e69b801754a1846844cfc966f84571)) - make --treeshake work with hashbang ([c06b5e1](https://togithub.com/egoist/tsup/commit/c06b5e14269c1b1cba28d6951896bae6709d4d1a)) ### [`v6.2.1`](https://togithub.com/egoist/tsup/releases/tag/v6.2.1) [Compare Source](https://togithub.com/egoist/tsup/compare/v6.2.0...v6.2.1) ##### Bug Fixes - properly log rollup errors ([#682](https://togithub.com/egoist/tsup/issues/682)) ([b595f72](https://togithub.com/egoist/tsup/commit/b595f72d8f1c03d59b70a3496db83dc7b4c01fb5)) - return a function in `onSuccess` to do cleanup ([64deb61](https://togithub.com/egoist/tsup/commit/64deb61f15d0832192af7f0f446997dfc3eda1b6)) ### [`v6.2.0`](https://togithub.com/egoist/tsup/releases/tag/v6.2.0) [Compare Source](https://togithub.com/egoist/tsup/compare/v6.1.3...v6.2.0) ##### Bug Fixes - actually trigger rebuild when watched files change ([135ff39](https://togithub.com/egoist/tsup/commit/135ff397cdd580f87af782ac19492d0f8edda08c)) ##### Features - allow onSuccess callback in tsup config file ([#657](https://togithub.com/egoist/tsup/issues/657)) ([2087907](https://togithub.com/egoist/tsup/commit/20879071a9c0c279fb33ca59bd8e36f53437a1d8)) - improve minification for `--target es5` ([#664](https://togithub.com/egoist/tsup/issues/664)) ([34df1da](https://togithub.com/egoist/tsup/commit/34df1da747a2153b39586a1362c601717f133724)) - optimize tsconfig.json loading ([#660](https://togithub.com/egoist/tsup/issues/660)) ([407cec6](https://togithub.com/egoist/tsup/commit/407cec60f9eac300c6a0b2cc5608cfd7d6340639)) ### [`v6.1.3`](https://togithub.com/egoist/tsup/releases/tag/v6.1.3) [Compare Source](https://togithub.com/egoist/tsup/compare/v6.1.2...v6.1.3) ##### Bug Fixes - fix `DataCloneError` when DTS is on ([#668](https://togithub.com/egoist/tsup/issues/668)) ([5040317](https://togithub.com/egoist/tsup/commit/504031796c01db50cb3edc790a28de462a83a1d2)) ### [`v6.1.2`](https://togithub.com/egoist/tsup/releases/tag/v6.1.2) [Compare Source](https://togithub.com/egoist/tsup/compare/v6.1.1...v6.1.2) ##### Bug Fixes - make `--minify` work with es5 target, fix [#653](https://togithub.com/egoist/tsup/issues/653) ([8230221](https://togithub.com/egoist/tsup/commit/8230221e4ee689cf070e8e288f098f8484404d53)) ### [`v6.1.1`](https://togithub.com/egoist/tsup/releases/tag/v6.1.1) [Compare Source](https://togithub.com/egoist/tsup/compare/v6.1.0...v6.1.1) ##### Features - **cli:** add `--tsconfig` flag to accept custom tsconfig path ([#652](https://togithub.com/egoist/tsup/issues/652)) ([58d0145](https://togithub.com/egoist/tsup/commit/58d0145e846def5a7a21a71ede8f58c2b72af92d)) - **minor:** use shell option for complex commands in onSuccess ([#649](https://togithub.com/egoist/tsup/issues/649)) ([be48b8b](https://togithub.com/egoist/tsup/commit/be48b8b7a5b0defaecf6c5d65b57f8efe8979dd2)) ### [`v6.1.0`](https://togithub.com/egoist/tsup/releases/tag/v6.1.0) [Compare Source](https://togithub.com/egoist/tsup/compare/v6.0.1...v6.1.0) ##### Bug Fixes - allow `format` to be a string in config file ([0a96985](https://togithub.com/egoist/tsup/commit/0a969854fa76cc671041ffa5e71bfa5aec3a2314)) - ignore esbuild warning if silent is true ([#643](https://togithub.com/egoist/tsup/issues/643)) ([36e2199](https://togithub.com/egoist/tsup/commit/36e21993685a4bcd77d528640bc5383240368857)) ##### Features - allow to use an object as entry with `--entry` flag ([33a7c5f](https://togithub.com/egoist/tsup/commit/33a7c5f94e734b10c6fc9cf444edb8685dabdf58)) - new option `outExtension` ([b9cd8d5](https://togithub.com/egoist/tsup/commit/b9cd8d5f0973f94d494b8b0d0e65121e5712ee49)) - support custom config file with `--config` flag ([90f2d1a](https://togithub.com/egoist/tsup/commit/90f2d1ae3abbf6eeb965f791b3ddf199bc3cc95d)) ### [`v6.0.1`](https://togithub.com/egoist/tsup/releases/tag/v6.0.1) [Compare Source](https://togithub.com/egoist/tsup/compare/v6.0.0...v6.0.1) ##### Bug Fixes - add missing `tsup-node` command ([a175339](https://togithub.com/egoist/tsup/commit/a1753393684b425d7f543a2a0a747df970c796fd)) ### [`v6.0.0`](https://togithub.com/egoist/tsup/releases/tag/v6.0.0) [Compare Source](https://togithub.com/egoist/tsup/compare/v5.12.9...v6.0.0) #### Upgrade guide - `shims` option is `false` by default: If you're dual-publishing (i.e. `--format esm,cjs`) and using platform specific API like `import.meta.url`, `__dirname` and `__filename`, you need to manually enable `--shims` flag now, because `import.meta.url` won't work in a `cjs` module, and `__dirname`, `__filename` won't work in an `esm` module. - `target` option is now `node14` by default: previously it was `node12`, the minimal node version that tsup can run in is also changed to `node14` #### New Features - New `treeshake` option: You can use Rollup for tree-shaking now, read more https://tsup.egoist.sh/#tree-shakingConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.