60 Commits

Author SHA1 Message Date
Puru Vijay
fdd4dfa283
feat: Minify with terser (#789)
closes #742
2023-02-07 19:19:00 +08:00
ΝΙΚΟΛΑΣ
31b2e7261f
feat: Provide JSON Schema (#763)
* inform about schema store in docs

* json schema store for tsup

* provide store to files

* schema composition for tsup.config.json

Brings support for both package.json "tsup" property and "tsup.config.json" files. In addition, array configuration types are now supported, allowing for multiple configuration exports.

* update documentation

* align validators

prevent the schema from revalidating the package.json

* minor edits to code sample

fixes semi and does not use plural on heading
2022-12-26 20:38:45 +08:00
Steven Luscher
8094cef088
chore(README): s/outout/output/ (#778) 2022-12-26 17:23:17 +08:00
EGOIST
3da1c00b13 feat: add --publicDir [dir] flag 2022-11-15 00:18:31 +08:00
EGOIST
002cb990a9 docs: clarify target option, closes #769 2022-11-11 18:08:25 +08:00
EGOIST
9291b57690 update sponsors 2022-11-03 23:51:21 +08:00
EGOIST
74df08ee78 docs: add og tags 2022-11-03 23:43:10 +08:00
rxliuli
fd0d78739d
docs: Instructions for adding shims configuration (#740) 2022-10-17 20:15:16 +08:00
Eric Burel
bb2309a384
fix: respect noExternal option with Tsup node (#720)
Co-authored-by: EGOIST <hi@egoist.dev>
2022-10-17 19:39:04 +08:00
Yugang Cao
3ab4b880c5
docs: add copy loader (#721)
Co-authored-by: caoyugang <yugang.cao@tusen.ai>
2022-10-06 23:31:36 +08:00
ArcherGu
8d7ce9e03f
feat: allow to exclude dependencies from specific package.json (#717) 2022-10-06 22:46:05 +08:00
EGOIST
dda4b3cdb5 chore: update analytics id 2022-08-06 16:41:27 +08:00
EGOIST
47e6f4d8cb chore(docs): update url 2022-08-02 02:57:41 +00:00
EGOIST
06fd4db4b8 chore: add sponsor 2022-07-30 14:49:36 +08:00
EGOIST
241aaac5fc chore(docs): we can use shell script now 2022-07-30 05:38:36 +00:00
EGOIST
64deb61f15 fix: return a function in onSuccess to do cleanup 2022-07-30 05:36:48 +00:00
Joel M
20879071a9
feat: allow onSuccess callback in tsup config file (#657)
Co-authored-by: EGOIST <0x142857@gmail.com>
2022-07-25 22:34:44 +08:00
EGOIST
c3f336dc80 docs: --entry flag 2022-06-06 01:42:34 +08:00
EGOIST
90f2d1ae3a feat: support custom config file with --config flag 2022-06-06 01:17:03 +08:00
EGOIST
ce599adc93 chore(docs): add link to paka 2022-05-30 21:41:15 +08:00
EGOIST
b9cd8d5f09 feat: new option outExtension 2022-05-30 21:29:37 +08:00
EGOIST
3bc55db99c chore(website): add analytics 2022-05-25 17:16:29 +08:00
EGOIST
b4fd91aa4c feat: allow to use rollup for tree shaking
a new flag `--treeshake` as well as a config option `treeshake`
2022-05-25 16:24:05 +08:00
Eric Burel
b9b817092c
docs: Add information about .d.ts.map TypeScript declaration maps (#566) 2022-02-24 01:08:59 +08:00
Tuhana GAYRETLİ
5c5bca0788
chore(docs): SWC wrong page link (#515) 2021-12-29 15:56:07 +08:00
EGOIST
99388a3c44 docs: link to paka docs 2021-12-26 00:48:30 +08:00
Yugang Cao
612e95905e
chore: fix typo (#510) 2021-12-25 19:43:33 +08:00
EGOIST
49e6332a77 docs: fix warning message 2021-12-15 14:08:02 +08:00
EGOIST
0826b35bb2 fix: bring back inline sourcemap support, closes #495 2021-12-15 14:04:50 +08:00
EGOIST
520ff6d225 chore: update docs 2021-12-11 17:31:50 +08:00
EGOIST
bff7fdfae6 refactor: deprecate options.entryPoints in favor of options.entry 2021-12-11 17:19:26 +08:00
EGOIST
524470c49b
feat: experimental plugin system (#486)
Co-authored-by: EGOIST <0x142857@gmail.com>
Co-authored-by: 木杉 <zhmushan@qq.com>
2021-12-10 15:44:27 +08:00
EGOIST
5939e6b282 chore(docs): show preview warning 2021-12-02 13:02:29 +08:00
EGOIST
e18b00e964 docs: update --watch 2021-12-02 12:43:22 +08:00
EGOIST
f6826b2045 docs: --dts-only 2021-11-23 23:31:12 +08:00
EGOIST
3f37270162 chore: typo 2021-11-20 19:44:58 +08:00
EGOIST
85cfd15c7f fix: add default loaders, closes #459 2021-11-20 19:43:30 +08:00
EGOIST
2ebd70bf48 docs: ask user to submit issues if tsup doesn't exclude some dependencies 2021-11-18 22:53:01 +08:00
Tmk
449d9e0ced
feat(config): allow conditional config (#452)
Co-authored-by: EGOIST <0x142857@gmail.com>
2021-11-12 16:04:12 +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
1a0f69e28d feat: add --metafile flag, closes #443 2021-10-25 13:00:55 +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
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.
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>
2021-08-16 16:46:57 +08:00
Pablo Sáez
1ad8d6d574
feat: Improve file config load & add docs (#301)
* separate config load with support for package.json

* add docs
2021-05-16 13:51:13 +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>
2021-04-27 17:13:50 +08:00
Pablo Sáez
c992b13a43
feat: improve watch mode & add silent mode (#285) 2021-04-18 18:28:14 +08:00