66 Commits

Author SHA1 Message Date
wChenonly
03037835d8
docs: update tsup API docs link [ci skip] (#1160) 2024-07-19 18:09:23 +08:00
三咲智子 Kevin Deng
e8c6079cdf
refactor: lint
eslint --fix by @sxzz/eslint-config

- add `node:` protocol
- sort imports
- ...
2024-07-17 23:46:22 +08:00
Igor Suvorov
00188a0dc8
docs: add information about tsconfig option (#1051) 2024-03-21 01:54:26 +08:00
ocavue
51b5a00f2f
docs: correct minimal version for --experimental-dts flag (#1038) 2023-11-19 20:19:45 +08:00
ocavue
fc1b13df26
docs: add information about JavaScript API (#1037) 2023-11-17 23:23:37 +08:00
Lars Artmann
b54081fad4
docs: add pnpm to README.md and docs/README.md (#1009) 2023-11-17 22:35:50 +08:00
ocavue
61fc06c613
feat: add experimental dts rollup using @microsoft/api-extractor (#983) 2023-11-17 20:29:07 +08:00
三咲智子 Kevin Deng
d870f4e76c
feat: add option for interop default in cjs (#947) 2023-08-02 23:05:34 +08:00
Andrew Branch
fb4c2b6e75
feat: Ensure matching declaration file exists for each output bundle format (#934)
* Ensure dts files match all output formats

* Update docs
2023-06-25 16:58:14 +08:00
Pascal Jufer
e3f02be280
Clarify definition of custom output file names in docs (#911) 2023-06-16 14:56:33 +08:00
ocavue
322cb772d8
chore: fix document typo (#871) 2023-03-31 19:39:27 +08:00
David Nussio
97f3abf74c
chore(docs): using jsdelivr insted of unpkg (#838) 2023-02-20 15:14:06 +08:00
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
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
47e6f4d8cb chore(docs): update url 2022-08-02 02:57:41 +00: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
b9cd8d5f09 feat: new option outExtension 2022-05-30 21:29:37 +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