Tmk
449d9e0ced
feat(config): allow conditional config ( #452 )
...
Co-authored-by: EGOIST <0x142857@gmail.com>
v5.7.0
2021-11-12 16:04:12 +08:00
EGOIST
112fbf6158
fix: do not use preserveSymlinks: true when bundling dts file
v5.6.3
2021-11-12 14:53:28 +08:00
EGOIST
e487ffef8c
fix: Revert "fix: do not use preserveSymlinks: true when bundling dts file"
...
5697b205a5543395e63065aad3ea27b9b6cb5b19
v5.6.2
2021-11-12 14:40:56 +08:00
EGOIST
5697b205a5
fix: do not use preserveSymlinks: true when bundling dts file
v5.6.1
2021-11-12 14:35:26 +08:00
EGOIST
dbf71ae5ca
chore: show project stats
2021-11-12 01:10:48 +08:00
EGOIST
32ca558141
chore(regression): re-export format and options
v5.6.0
2021-11-03 22:21:10 +08:00
EGOIST
1fa05c3835
feat: add footer and banner options, closes #451
2021-11-03 22:15:30 +08:00
EGOIST
1f85660e46
feat: allow to extend esbuild options via tsup options
2021-11-03 22:08:04 +08:00
EGOIST
12e1c8d50b
chore(readme): show sponsors
2021-10-26 19:15:19 +08:00
EGOIST
1a0f69e28d
feat: add --metafile flag, closes #443
v5.5.0
2021-10-25 13:00:55 +08:00
EGOIST
15c82f59b0
fix(regression): fix declaration file path with a single entrypoint
v5.4.4
2021-10-24 09:26:38 +08:00
EGOIST
a4a5404470
fix: make declaration files work with multiple entrypoints
...
closes #316
v5.4.3
2021-10-22 23:29:45 +08:00
EGOIST
0f7837d38b
build: enable code splitting
v5.4.2
2021-10-20 00:48:28 +08:00
EGOIST
ad95e5c9cf
fix: make --define support nested properties, closes #440
2021-10-20 00:46:14 +08:00
Sachin Raja
5699a010b8
fix: drop cjs_shims if they are not used ( #436 )
v5.4.1
2021-10-17 20:33:07 +08:00
Pablo Sáez
792234624d
feat: update esbuild to ^0.13.4 ( #431 )
v5.4.0
2021-10-07 12:15:04 +08:00
EGOIST
f268c649d2
feat: add --inject flag
...
related #390
v5.3.0
2021-10-04 21:23:35 +08:00
EGOIST
f29ec8fca8
fix: modules should not be externalized in iife format
v5.2.1
2021-09-26 20:42:05 +08:00
Tmk
eceda2fbda
feat: support named entry in api mode ( #391 )
...
* feat: support named entry in api mode
* fix: check input existence
v5.2.0
2021-09-24 22:29:49 +08:00
Homyee King
f7cae28188
build: add dev script ( #411 )
2021-09-23 23:03:35 +08:00
MO
a1c9fce0fa
chore: fix css support link in readme ( #416 )
2021-09-23 22:27:30 +08:00
EGOIST
6075c80312
chore: fix markdown
2021-09-16 21:14:29 +08:00
EGOIST
1667fd2b97
feat: make experimental cjs code splitting available behine flag --splitting
...
closes #408
v5.1.0
2021-09-16 21:07:24 +08:00
EGOIST
c939d4d6e2
chore: remove faq
2021-09-15 22:03:06 +08:00
FM
49f48ead4c
fix: only enable code splitting in esm format ( #403 )
...
BREAKING CHANGE:
Code splitting now only works for esm format (default output format is `cjs`), code splitting with cjs format is not supported by esbuild, and our workaround is kinda buggy, so we reverted that decision.
v5.0.0
2021-09-15 21:59:43 +08:00
Tmk
a87b3d5a5b
feat: support inline sourcemap ( #386 )
...
* feat: support inline sourcemap
* Update README.md
Co-authored-by: Tmk <tanmengkang@bytedance.com>
Co-authored-by: EGOIST <0x142857@gmail.com>
v4.14.0
2021-08-16 16:46:57 +08:00
dependabot[bot]
f640865dbf
chore(deps): bump rollup from 2.50.6 to 2.56.1 ( #383 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.50.6 to 2.56.1.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v2.50.6...v2.56.1 )
---
updated-dependencies:
- dependency-name: rollup
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-12 17:02:20 +08:00
EGOIST
5cac0ea8db
fix: upgrade to rollup-plugin-dts 3.0.2
...
closes #368
v4.13.1
2021-08-04 23:51:41 +08:00
Pong
d5d2f77e77
feat: make build option more flexible ( #364 )
...
* feat(): allow to disable esbuild bundle option
* feat(): allow to add clean patterns
* Update index.ts
Co-authored-by: EGOIST <0x142857@gmail.com>
v4.13.0
2021-08-04 23:44:49 +08:00
Pablo Sáez
405e165ef7
fix: fix config file with "type": "module" ( #353 )
...
closes #352
v4.12.5
2021-07-07 03:39:51 +08:00
EGOIST
fc8d689178
fix(config): allow to export config as tsup
...
closes #351
v4.12.4
2021-07-07 00:00:39 +08:00
EGOIST
6f6f959750
fix(config): support module.exports
...
closes #350
v4.12.3
2021-07-06 23:39:13 +08:00
EGOIST
7d03efeb54
fix: bundle config file
...
closes #346
v4.12.2
2021-07-06 17:53:41 +08:00
EGOIST
17ac44cd2f
fix: add --pure flag
...
closes #349
v4.12.1
2021-07-06 16:39:43 +08:00
EGOIST
3ca80afe32
feat: update esbuild to 0.12
v4.12.0
2021-06-26 16:09:00 +08:00
dependabot[bot]
3f69964df2
chore(deps): bump esbuild from 0.11.23 to 0.12.8 ( #329 )
...
Bumps [esbuild](https://github.com/evanw/esbuild ) from 0.11.23 to 0.12.8.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.11.23...v0.12.8 )
---
updated-dependencies:
- dependency-name: esbuild
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-15 13:39:00 +08:00
EGOIST
33f3589399
chore: remove -y flag
2021-06-03 18:00:21 +08:00
EGOIST
03d74e0942
chore: fix test dependencies
2021-06-03 17:57:28 +08:00
EGOIST
893bac6851
chore: switch back to npm
2021-06-03 17:54:26 +08:00
Pablo Sáez
5e5a9f19fb
fix: call setSilent earlier ( #312 )
v4.11.2
2021-06-02 21:30:11 +08:00
NONAME
8d6b1e9d97
chore: update readme
2021-05-29 12:14:00 +08:00
NONAME
e1cf8563fe
chore: add license
2021-05-29 12:11:19 +08:00
dependabot-preview[bot]
211ba73478
Upgrade to GitHub-native Dependabot ( #292 )
...
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
v4.11.1
2021-05-24 14:02:25 +08:00
Pablo Sáez
936ce8e119
fix: respect silent config ( #308 )
2021-05-24 14:02:07 +08:00
Pablo Sáez
1ad8d6d574
feat: Improve file config load & add docs ( #301 )
...
* separate config load with support for package.json
* add docs
v4.11.0
2021-05-16 13:51:13 +08:00
EGOIST
67354025a8
fix: ignore non-js files in dts build
...
closes #288
v4.10.1
2021-04-28 18:29:31 +08:00
Pablo Sáez
c7773e9a3c
feat: export main cli & add tsup-node command ( #290 )
...
* export main cli & add tsup-node
* update docs
* update tests
* refactor external-plugin to support skipNodeModulesBundle directly
* update docs
Co-authored-by: EGOIST <0x142857@gmail.com>
v4.10.0
2021-04-27 17:13:50 +08:00
EGOIST
5f0ce9f339
chore(test): sort output files
v4.9.2
2021-04-25 14:11:02 +08:00
EGOIST
3c18f3bca7
fix: mark files inside dependencies as external too
2021-04-25 14:07:41 +08:00
Pablo Sáez
2a13f4bedb
fix(win): use tree-kill ( #286 )
v4.9.1
2021-04-19 14:58:43 +08:00