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
Ian VanSchooten
b595f72d8f
fix: properly log rollup errors ( #682 )
2022-07-30 04:37:37 +00: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>
v6.2.0
2022-07-25 22:57:57 +08:00
三咲智子
407cec60f9
feat: optimize tsconfig.json loading ( #660 )
...
* feat: add option to override tsconfig
* fix: resolve tsconfig
* tweaks
Co-authored-by: EGOIST <0x142857@gmail.com>
2022-07-25 22:45:08 +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
135ff397cd
fix: actually trigger rebuild when watched files change
2022-07-25 22:18:09 +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
b44d69c7d0
chore: update deps
2022-07-25 20:10:31 +08:00
Victor Duarte
504031796c
fix: fix DataCloneError when DTS is on ( #668 )
v6.1.3
2022-07-02 14:19:16 +08:00
EGOIST
8230221e4e
fix: make --minify work with es5 target, fix #653
v6.1.2
2022-06-10 23:46:49 +08:00
Julien Goux
58d0145e84
feat(cli): add --tsconfig flag to accept custom tsconfig path ( #652 )
...
* feat: expose tsconfig option
* write a test
* oops, remove the only function
* no need for a snapshot
Co-authored-by: EGOIST <hi@egoist.sh>
v6.1.1
2022-06-10 23:08:43 +08:00
Julien Goux
be48b8b7a5
feat(minor): use shell option for complex commands in onSuccess ( #649 )
2022-06-10 22:45:13 +08:00
ArcherGu
36e2199368
fix: ignore esbuild warning if silent is true ( #643 )
v6.1.0
2022-06-06 01:49:07 +08:00
EGOIST
c3f336dc80
docs: --entry flag
2022-06-06 01:42:34 +08:00
EGOIST
33a7c5f94e
feat: allow to use an object as entry with --entry flag
2022-06-06 01:30:54 +08:00
EGOIST
0a969854fa
fix: allow format to be a string in config file
2022-06-06 01:21:06 +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
a175339368
fix: add missing tsup-node command
v6.0.1
2022-05-25 17:51:54 +08:00
EGOIST
3bc55db99c
chore(website): add analytics
2022-05-25 17:16:29 +08:00
EGOIST
21d549cc8a
Revert "chore(deps): update postcss-load-config"
...
This reverts commit 485f432b7f2b0b9116f47f0d11cd0ae0de444348.
v6.0.0
2022-05-25 16:56:43 +08:00
EGOIST
485f432b7f
chore(deps): update postcss-load-config
2022-05-25 16:43:54 +08:00
EGOIST
1602446900
feat: shims option is now false by default
...
BREAKING CHANGE:
`shims` option is `false` by default, changing it `true` allows tsup to shim `import.meta.url` in `cjs` build and `__dirname` `__filename` in `esm` build
2022-05-25 16:38:22 +08:00
EGOIST
f7c53f70a6
feat: update default target to node14
...
BREAKING CHANGE:
Now tsup requires node 14 or above, the build target is also changed to `node14` by default
2022-05-25 16:31:21 +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
EGOIST
0a5b4b6939
chore: adding postcss and swc to optional peerDependencies
v5.12.9
2022-05-25 14:17:39 +08:00
Oscar Newman
a792668a40
fix(deps): Update rollup and rollup-plugin-dts to latest versions ( #632 )
2022-05-25 14:17:39 +08:00
Brian Donovan
6b01221471
chore: fix typo ( #629 )
2022-05-25 14:17:39 +08:00
L
ad2629a00d
feat(minor): allow tsup config function to be asynchronous ( #627 )
...
* Allow tsup config function to be asynchronous
* update types
Co-authored-by: EGOIST <hi@egoist.sh>
2022-05-25 14:17:39 +08:00
EGOIST
c67e03debc
fix: update source-map to 0.8.0-beta.0, closes #623
...
the `source-map` package is broken in Node.js 18, it was fixed but the beta version was never released
see https://github.com/mozilla/source-map/issues/454
v5.12.8
2022-05-16 23:48:38 +08:00
EGOIST
72cbf173a5
chore: update release command
v5.12.7
2022-05-05 21:57:03 +08:00
schelmo
67eea53583
fix: resolve to package.json only if tsup key exists ( #622 )
...
Co-authored-by: EGOIST <hi@egoist.sh>
2022-05-05 21:51:36 +08:00
EGOIST
f4a56ed21a
fix: define a build-time constant called TSUP_FORMAT
2022-05-05 21:46:00 +08:00
EGOIST
df40e12e95
fix(dts): use relative baseUrl in tsconfig, closes #611
v5.12.6
2022-04-21 14:03:36 +08:00