625 Commits

Author SHA1 Message Date
EGOIST
30ff79db91 feat: upgrade esbuild 0.16 -> 0.17 v6.6.0 2023-02-07 22:17:03 +08:00
Raz Luvaton
2e73ca96bd
fix: add home page to package.json (#817) 2023-02-07 21:23:29 +08:00
EGOIST
df6d1de244 chore: update target type 2023-02-07 21:20:03 +08:00
EGOIST
85e01add59 chore: cleanup
incremental mode is not actually used
2023-02-07 21:07:31 +08:00
EGOIST
5780788d14 chore(build): semantic-release requires node 18 2023-02-07 20:54:58 +08:00
Luna
398ae15638 feat(types): allow autocomplete for target (#809) 2023-02-07 20:40:15 +08:00
await-ovo
4154e05032
feat: update rollup-plugin-dts to support custom tsconfig and preserve export {} for file that have no exports (#807)
Co-authored-by: EGOIST <hi@egoist.dev>
close https://github.com/egoist/tsup/issues/762
close https://github.com/egoist/tsup/issues/791
2023-02-07 20:26:08 +08:00
Cesar S
14ad4bd529
fix: default exports not working on CJS + treeshake: true (#815)
Fixes https://github.com/egoist/tsup/issues/814
2023-02-07 20:23:07 +08:00
EGOIST
eb23bd793f chore: update lockfile 2023-02-07 20:17:25 +08:00
Amit Dahan
904e07a21b
feat: Bump esbuild 0.15 -> 0.16 (#805)
Co-authored-by: EGOIST <hi@egoist.sh>
2023-02-07 20:16:03 +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
await-ovo
4cb1bc21a1
fix: use postMessage instead of console in worker thread (#779)
resolve https://github.com/egoist/tsup/issues/776
2022-12-26 17:29:17 +08:00
Steven Luscher
8094cef088
chore(README): s/outout/output/ (#778) 2022-12-26 17:23:17 +08:00
await-ovo
78432e23b5
fix: search postcss config from current work dir (#773)
fix https://github.com/egoist/tsup/issues/770
2022-12-26 17:13:25 +08:00
Gavin Sharp
b107de09c9
fix: clean d.ts files if "dts" option is false (#747)
Co-authored-by: EGOIST <0x142857@gmail.com>
2022-12-26 16:51:09 +08:00
Gavin Sharp
a2803ddd35
fix: fix typo in postcssPlugin (#764) v6.5.0 2022-11-15 00:23:21 +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
fd49cac6fc
Update README.md 2022-11-04 00:04:11 +08:00
EGOIST
6cd20a0a36
Update README.md 2022-11-04 00:03:01 +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
await-ovo
d4b317bce3
feat: rebuild when package.json dependencies changed (#759)
Co-authored-by: EGOIST <hi@egoist.dev>
v6.4.0
2022-11-03 23:04:04 +08:00
EGOIST
6cbbea1c46 fix: update bundle-require, closes #719 2022-11-03 22:30:24 +08:00
EGOIST
9ce5c1310e fix: use rollup v3, closes #749 2022-11-03 22:07:22 +08:00
await-ovo
44d3d47aeb
fix: ensure setContext before run buildStarted (#758) 2022-11-03 17:37:45 +08:00
await-ovo
906f124ada
feat: respect target config in tsconfig.json (#757)
Co-authored-by: EGOIST <0x142857@gmail.com>
2022-11-03 17:30:22 +08:00
Baptiste Arnaud
48b3381b15
fix: use loader from config for postcss (#744) v6.3.0 2022-10-17 20:19:41 +08:00
rxliuli
fd0d78739d
docs: Instructions for adding shims configuration (#740) 2022-10-17 20:15:16 +08:00
Young
5161f8fdab
chore: fix a typo (#737) 2022-10-17 20:14:18 +08:00
Amit Dahan
2f9d370ab2
fix: Configure Rollup's external to support subpaths too (#722) 2022-10-17 19:42:51 +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
Segev Finer
9488ac0b44
fix(types): Add typing for platform: 'neutral' (#713) 2022-10-06 22:47:03 +08:00
ArcherGu
8d7ce9e03f
feat: allow to exclude dependencies from specific package.json (#717) 2022-10-06 22:46:05 +08:00
dusion
fb248e4936
fix: ignore rollup warning if silent is true (#707) 2022-10-06 22:36:16 +08:00
EGOIST
d074dd9c33 fix(deps): update bundle-require, fix #695 v6.2.3 2022-08-26 16:26:21 +08:00
EGOIST
dd9ef53e84 fix: respect exit code from onSuccess process, closes #697 2022-08-26 15:53:28 +08:00
Parbez
900a260e4f
fix: pass globalName to rollup for tree-shaking iife build (#692) 2022-08-26 15:39:40 +08:00
EGOIST
7000c8b6f5 fix: don't transform to cjs twice, resolves #675 v6.2.2 2022-08-12 14:01:45 +08:00
EGOIST
c06b5e1426 fix: make --treeshake work with hashbang 2022-08-12 13:48:19 +08:00
EGOIST
c3dc8d8cc5 fix(deps): upgrade esbuild to 0.15, resolves #690 2022-08-12 13:17:33 +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
eb3a03441c
chore: update docs url 2022-08-01 17:29:57 +08:00
EGOIST
52bc732100 chore(pkg): add description 2022-07-30 14:54:58 +08:00
EGOIST
06fd4db4b8 chore: add sponsor 2022-07-30 14:49:36 +08:00
EGOIST
241aaac5fc chore(docs): we can use shell script now v6.2.1 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