EGOIST
1a0f69e28d
feat: add --metafile flag, closes #443
2021-10-25 13:00:55 +08:00
EGOIST
a4a5404470
fix: make declaration files work with multiple entrypoints
...
closes #316
2021-10-22 23:29:45 +08:00
Sachin Raja
5699a010b8
fix: drop cjs_shims if they are not used ( #436 )
2021-10-17 20:33:07 +08:00
Pablo Sáez
792234624d
feat: update esbuild to ^0.13.4 ( #431 )
2021-10-07 12:15:04 +08:00
EGOIST
f268c649d2
feat: add --inject flag
...
related #390
2021-10-04 21:23:35 +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
EGOIST
03d74e0942
chore: fix test dependencies
2021-06-03 17:57:28 +08:00
EGOIST
893bac6851
chore: switch back to npm
2021-06-03 17:54:26 +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
5f0ce9f339
chore(test): sort output files
2021-04-25 14:11:02 +08:00
EGOIST
3c18f3bca7
fix: mark files inside dependencies as external too
2021-04-25 14:07:41 +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
4c12e43a4c
fix(dts): resolve relative path in node_modules
2021-03-17 14:59:18 +08:00
EGOIST
d29f1886cd
chore(test): use --shamefully-hoist to install test dependencies
2021-03-17 14:29:50 +08:00
EGOIST
8f96c52116
chore: use pnpm
2021-03-17 14:17:01 +08:00
EGOIST
0564eec5a0
fix: make compilerOptions.paths work with --dts-resolve
2021-03-17 14:03:13 +08:00
EGOIST
15ce73713b
fix: respect paths in tsconfig.json in dts build
2021-03-17 13:23:48 +08:00
EGOIST
77bb2b4a65
test: test baseUrl and paths in tsconfig.json
2021-03-17 12:49:14 +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
EGOIST
353d8d3b46
fix(svelte): add missing js code
2021-02-27 15:00:30 +08:00
EGOIST
db824894a0
chore: fix casing in test
2021-02-27 14:55:49 +08:00
EGOIST
06906f20dc
feat: let esbuild handle css extracted from svelte components
2021-02-27 14:52:30 +08:00
EGOIST
e18e1c8a39
feat: add svelte support
2021-02-27 13:34:12 +08:00
EGOIST
fe6ecaafa1
fix: add flag to disable code splitting, closes #255
2021-02-24 15:42:01 +08:00
EGOIST
ef8e2c6dff
feat: support RegExp in external
2021-02-23 22:04:27 +08:00
EGOIST
1bde51ff01
feat: improve dts support
...
* Now --dts-resolve will also externalize pkg.dependencies by default.
* Added support for config file. tsup.config.{ts,js,json}
2021-02-23 15:28:39 +08:00
EGOIST
588fea572a
test: refactor to use inline snapshot
2021-02-23 01:20:29 +08:00
EGOIST
ba8821eb54
feat: re-introduce --dts bundle support
2021-01-23 16:45:10 +08:00
EGOIST
743421c65a
feat: add postcss support
2020-11-27 20:56:25 +08:00
EGOIST
130055a945
chore: update snapshot
2020-11-27 19:54:11 +08:00
Wzh
a95b811469
feat: add --sourcemap flag ( #146 )
2020-11-12 20:48:25 +08:00
Pablo Sáez
1fb78eb806
fix: change fast-glob to globby ( #159 )
2020-10-25 22:33:57 +08:00
EGOIST
e24278d111
fix: properly set compile-time env variables
2020-08-16 14:12:15 +08:00
EGOIST
a3e8ad3b17
test: minify flag
2020-08-16 13:51:14 +08:00
EGOIST
799b491604
feat: add --legacy-output flag
2020-07-25 15:15:11 +08:00
EGOIST
3ebef58ca7
feat: use different extension for esm format, closes #68
2020-07-25 14:48:27 +08:00
EGOIST
0ebb08dd8e
feat: add es5 target
2020-07-21 15:17:50 +08:00
Kevin Titor
a4714a7eb0
feat: use esbuild for bundling ( #72 )
...
BREAKING CHANGE:
- Removed `run` command
- Using `esbuild` instead of `rollup` for bundling, `dts` file is still generated by rollup.
2020-07-20 16:45:18 +08:00
EGOIST
bba34171b2
feat: use esbuild again
2020-07-19 00:12:45 +08:00
EGOIST
48d0369534
fix: use rollup-plugin-typescript2
2020-07-10 22:43:57 +08:00
EGOIST
87de6e17e5
fix: somehow --dts-bundle works now
2020-05-19 00:13:48 +08:00
EGOIST
2a9424edb4
fix: disable non-syntax plugin for --dts
2020-05-19 00:05:23 +08:00
EGOIST
cae392739e
test: adding a failing test
2020-05-18 23:46:06 +08:00
EGOIST
a51f274165
test: bundle graphql-tools
2020-05-18 23:29:16 +08:00