EGOIST
32ca558141
chore(regression): re-export format and options
2021-11-03 22:21:10 +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
15c82f59b0
fix(regression): fix declaration file path with a single entrypoint
2021-10-24 09:26:38 +08:00
EGOIST
a4a5404470
fix: make declaration files work with multiple entrypoints
...
closes #316
2021-10-22 23:29:45 +08:00
EGOIST
ad95e5c9cf
fix: make --define support nested properties, closes #440
2021-10-20 00:46:14 +08:00
EGOIST
f268c649d2
feat: add --inject flag
...
related #390
2021-10-04 21:23:35 +08:00
EGOIST
f29ec8fca8
fix: modules should not be externalized in iife format
2021-09-26 20:42:05 +08:00
Tmk
eceda2fbda
feat: support named entry in api mode ( #391 )
...
* feat: support named entry in api mode
* fix: check input existence
2021-09-24 22:29:49 +08:00
EGOIST
1667fd2b97
feat: make experimental cjs code splitting available behine flag --splitting
...
closes #408
2021-09-16 21:07:24 +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
Pong
d5d2f77e77
feat: make build option more flexible ( #364 )
...
* feat(): allow to disable esbuild bundle option
* feat(): allow to add clean patterns
* Update index.ts
Co-authored-by: EGOIST <0x142857@gmail.com>
2021-08-04 23:44:49 +08:00
Pablo Sáez
405e165ef7
fix: fix config file with "type": "module" ( #353 )
...
closes #352
2021-07-07 03:39:51 +08:00
EGOIST
fc8d689178
fix(config): allow to export config as tsup
...
closes #351
2021-07-07 00:00:39 +08:00
EGOIST
6f6f959750
fix(config): support module.exports
...
closes #350
2021-07-06 23:39:13 +08:00
EGOIST
7d03efeb54
fix: bundle config file
...
closes #346
2021-07-06 17:53:41 +08:00
EGOIST
17ac44cd2f
fix: add --pure flag
...
closes #349
2021-07-06 16:39:43 +08:00
Pablo Sáez
5e5a9f19fb
fix: call setSilent earlier ( #312 )
2021-06-02 21:30:11 +08:00
Pablo Sáez
936ce8e119
fix: respect silent config ( #308 )
2021-05-24 14:02:07 +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
EGOIST
67354025a8
fix: ignore non-js files in dts build
...
closes #288
2021-04-28 18:29:31 +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
EGOIST
3c18f3bca7
fix: mark files inside dependencies as external too
2021-04-25 14:07:41 +08:00
Pablo Sáez
2a13f4bedb
fix(win): use tree-kill ( #286 )
2021-04-19 14:58:43 +08:00
Pablo Sáez
c992b13a43
feat: improve watch mode & add silent mode ( #285 )
2021-04-18 18:28:14 +08:00
EGOIST
6bcd81a43b
fix: transform import.meta.url in cjs build
2021-03-27 15:33:55 +08:00
EGOIST
2061e82791
fix: change default target to node12
2021-03-27 14:48:28 +08:00
EGOIST
b1f7994941
fix: use the native esbuild formatMessages method to output warnings
2021-03-27 13:41:03 +08:00
EGOIST
257033f2e1
fix: output essential esbuild warnings
2021-03-21 18:13:17 +08:00
Pablo Sáez
895ebafcb7
fix: add ignoreWatch & docs ( #279 )
2021-03-19 11:41:24 +08:00
EGOIST
4722b2edca
fix: handle errors in worker
2021-03-18 22:50:12 +08:00
EGOIST
f6a07fdc0c
fix: use worker thread to run rollup again
2021-03-18 22:40:56 +08:00
EGOIST
2aa31d9ec0
fix: always run rollup after esbuild
2021-03-18 22:09:22 +08:00
EGOIST
70cf288df8
fix: use chokidar to watch files again
2021-03-18 17:46:14 +08:00
EGOIST
508b6284f0
fix: no longer running rollup in a worker
2021-03-18 17:15:06 +08:00
EGOIST
a9560cb513
fix: don't pass esbuild plugins to rollup worker
2021-03-18 16:30:44 +08:00
EGOIST
ea351e16bc
feat(patch): accept custom esbuild plugins
2021-03-17 19:57:23 +08:00
EGOIST
64072f5824
fix: better error when there're no input files
2021-03-17 15:26:20 +08:00
EGOIST
07aaf393cb
fix: optimize
2021-03-17 15:03:46 +08:00
EGOIST
4c12e43a4c
fix(dts): resolve relative path in node_modules
2021-03-17 14:59:18 +08:00
EGOIST
0564eec5a0
fix: make compilerOptions.paths work with --dts-resolve
2021-03-17 14:03:13 +08:00
EGOIST
e3e67a9a73
fix: pass only baseUrl and paths to compilerOptions
2021-03-17 13:33:42 +08:00
EGOIST
15ce73713b
fix: respect paths in tsconfig.json in dts build
2021-03-17 13:23:48 +08:00
Pablo Sáez
1758b2b4e8
fix: handle watch mode error, earlier prev process kill ( #277 )
...
* fix watch catch error, earlier prev process kill
* use error handler
* fix typo
Co-authored-by: Eren Bets <0x142857@gmail.com>
2021-03-17 11:17:54 +08:00
Eren Bets
053a283d0b
fix: get rid of text decoder ( #276 )
...
* fix: get rid of text decoder
* test node 10 and 12
* remove node 10
2021-03-17 02:31:06 +08:00
EGOIST
cbe9281158
refactor: rename plugins folder to esbuild
2021-03-17 01:18:52 +08:00
EGOIST
72015e1e76
fix: improve type declaration resolving mechanism
2021-03-17 01:18:15 +08:00
Pablo Sáez
0cc5cc15e3
feat: add --onSuccess <command> flag ( #275 )
...
Co-authored-by: EGOIST <0x142857@gmail.com>
2021-03-16 18:09:22 +08:00