135 Commits

Author SHA1 Message Date
三咲智子 Kevin Deng
b68c19f0ff
chore: upgrade deps 2024-09-17 13:29:38 +08:00
Ariel Weinberger
f25a9db77d
feat: add support for async injectStyle (#1193) 2024-09-17 12:46:39 +10:00
Superchupu
3f4430323f
refactor: replace globby with tinyglobby (#1168) 2024-08-24 17:34:38 +08:00
EGOIST
2de6dd5300 fix: Revert "refactor: replace globby with faster alternative (#1158)"
This reverts commit 0f0b4b205df201e9cdd047764868dd2619a528b0.
2024-07-22 16:28:47 +08:00
三咲智子 Kevin Deng
6e66f29a10
chore: upgrade deps 2024-07-21 02:40:15 +08:00
Superchupu
0f0b4b205d
refactor: replace globby with faster alternative (#1158) 2024-07-19 22:56:33 +08:00
三咲智子 Kevin Deng
e7ced3474a
feat: add option to retain node protocol 2024-07-18 04:21:47 +08:00
三咲智子 Kevin Deng
809c57abb1
chore: upgrade tsup & deps 2024-07-18 00:00:18 +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
xiaohj
6ca0cb0aee
fix: correct sourcemap with treeshake (#1069) 2024-07-17 23:16:14 +08:00
三咲智子 Kevin Deng
648d01699e
test: upgrade all deps 2024-07-17 05:01:05 +08:00
三咲智子 Kevin Deng
612613bf5e
refactor: upgrade rollup 2024-07-17 04:52:21 +08:00
三咲智子 Kevin Deng
31b5fa4884
refactor: upgrade swc 2024-07-17 04:47:45 +08:00
三咲智子 Kevin Deng
5461c7df90
refactor: upgrade sucrase 2024-07-17 04:19:56 +08:00
三咲智子 Kevin Deng
f1f21c50dd
refactor: upgrade TS & enable verbatimModuleSyntax 2024-07-17 04:14:59 +08:00
三咲智子 Kevin Deng
3a200dbc79
refactor: upgrade fs-extra 2024-07-17 04:05:51 +08:00
三咲智子 Kevin Deng
cf8c096599
test: cleanup snapshot 2024-07-17 04:03:16 +08:00
三咲智子 Kevin Deng
abf3a30050
chore: upgrade pnpm to v9 2024-07-17 04:01:44 +08:00
三咲智子 Kevin Deng
2864110c50
test: split unit tests for concurrency 2024-07-17 03:59:54 +08:00
三咲智子 Kevin Deng
b537d37269
style: format code, upgrade prettier to v3 2024-07-17 03:38:11 +08:00
ocavue
8c26e63c92
fix(experimental-dts): make --experimental-dts to be compatible with --clean (#1041) 2023-11-20 16:27:43 +08:00
ocavue
731f43fe14
fix(experimental-dts): only include exported declarations (#1039) 2023-11-20 15:45:11 +08:00
ckohen
f83baf86c8
fix(dts): ensure chunks conform to bundle format (#1034) 2023-11-19 20:53:05 +08:00
ocavue
d4e22c5fb9
fix: await postcss for async plugins (#1036) 2023-11-18 16:36:54 +08:00
dependabot[bot]
080f5b873d
chore(deps-dev): bump @babel/traverse from 7.22.5 to 7.23.2 in /test (#1027) 2023-11-17 20:46:18 +08:00
ocavue
61fc06c613
feat: add experimental dts rollup using @microsoft/api-extractor (#983) 2023-11-17 20:29:07 +08:00
翠 / green
438ec47484
feat!: update to rollup v4 (#1018) 2023-10-16 12:39:54 +00: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
Tmk
3606e45dff
feat: support svelte-preprocess (#906)
* feat: support svelte-preprocess

* chore: update lockfile

---------

Co-authored-by: EGOIST <hi@egoist.dev>
2023-06-16 17:40:22 +08:00
翠 / green
2c0435a30f
fix: preserve top-level when running terser for IIFE (#900)
Co-authored-by: EGOIST <hi@egoist.dev>
2023-06-16 14:39:01 +08:00
await-ovo
68297f78f7
chore: update postcss-load-config (#880)
* chore: update postcss-load-config

* chore: install pnpm@7 in CI

* use pnpm v8

---------

Co-authored-by: EGOIST <hi@egoist.dev>
2023-06-16 14:20:15 +08:00
EGOIST
4027d3a3bf chore: recreate lockfile in test folder 2023-06-16 13:58:34 +08:00
teobler
e2e70e8603
feat: Update esbuild version to latest for keeping unknown directives during bundle (#925)
BREAKING CHANGE:

update esbuild to 0.18
2023-06-16 13:51:26 +08:00
await-ovo
01169b3975
feat: add function type for options.injectStyle (#855) 2023-03-19 17:23:14 +08:00
EGOIST
30ff79db91 feat: upgrade esbuild 0.16 -> 0.17 2023-02-07 22:17:03 +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
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
EGOIST
9ce5c1310e fix: use rollup v3, closes #749 2022-11-03 22:07:22 +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
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
ArcherGu
8d7ce9e03f
feat: allow to exclude dependencies from specific package.json (#717) 2022-10-06 22:46:05 +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
nikaple
34df1da747
feat: improve minification for --target es5 (#664)
* feat: improve minification for `--target es5`

* remove .only

Co-authored-by: EGOIST <0x142857@gmail.com>
2022-07-25 22:57:57 +08: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
8dbb97dd7b test: fix decorator test 2022-07-25 20:42:51 +08:00
EGOIST
fcdcd8bcce test: ability to remove unused code 2022-07-25 20:26:31 +08:00
EGOIST
8230221e4e fix: make --minify work with es5 target, fix #653 2022-06-10 23:46:49 +08:00