296 Commits

Author SHA1 Message Date
Ariel Weinberger
f25a9db77d
feat: add support for async injectStyle (#1193) 2024-09-17 12:46:39 +10:00
Shinigami
fc72d45fbe
chore: add target es2023 (#1190) 2024-09-17 12:43:52 +10:00
Jun
76dc18b703
fix: fix experimentalDts file cleaning and watching (#1199) 2024-09-17 12:41:44 +10:00
Arya Emami
ec811b3b7d
feat: add support for cts and mts config files (#1178) 2024-08-24 17:38:43 +08:00
Superchupu
3f4430323f
refactor: replace globby with tinyglobby (#1168) 2024-08-24 17:34:38 +08:00
EGOIST
49c11c3073 fix: do not terminate dts worker in watch mode, closes #1172, closes #1171 2024-08-02 15:22:15 +08:00
三咲智子 Kevin Deng
048c93b346
fix: get metafile on windows 2024-07-25 00:17:12 +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
Grigory
44c88a7410
fix(dts): terminate worker when work is done (#1142) 2024-07-21 02:30:36 +08:00
Superchupu
0f0b4b205d
refactor: replace globby with faster alternative (#1158) 2024-07-19 22:56:33 +08:00
三咲智子 Kevin Deng
aeda546c1f
refactor: replace colorette with picocolors 2024-07-19 20:13:04 +08:00
三咲智子 Kevin Deng
e7ced3474a
feat: add option to retain node protocol 2024-07-18 04:21:47 +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
43cf9f69e2
fix: only import type statement
closes #1157, closes #1156
2024-07-17 23:12:49 +08:00
Sunny Fu
26e1bb776f
chore: prefer property shorthand [skip ci] (#1144) 2024-07-17 06:17:43 +08:00
三咲智子 Kevin Deng
31b5fa4884
refactor: upgrade swc 2024-07-17 04:47:45 +08:00
三咲智子 Kevin Deng
32003931f7
refactor: upgrade some deps 2024-07-17 04:18:18 +08:00
三咲智子 Kevin Deng
f1f21c50dd
refactor: upgrade TS & enable verbatimModuleSyntax 2024-07-17 04:14:59 +08:00
三咲智子 Kevin Deng
b537d37269
style: format code, upgrade prettier to v3 2024-07-17 03:38:11 +08:00
Haydn
83c7c7f313
fix: support swc target for mjs (#1081) 2024-02-10 14:58:39 +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
ocavue
d8a203c661
chore(ci): automatically format code (#1035) 2023-11-19 20:54:39 +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
ocavue
61fc06c613
feat: add experimental dts rollup using @microsoft/api-extractor (#983) 2023-11-17 20:29:07 +08:00
Pink Champagne
690af7b899
fix: process not found on windows (#1013) 2023-10-16 12:53:10 +00:00
三咲智子 Kevin Deng
b749a274be
fix: add newline after cjsInterop
closes #1022
2023-10-16 20:49:40 +08:00
三咲智子 Kevin Deng
1dbd86b734
feat: support es3 target (#965) 2023-10-16 12:47:47 +00:00
翠 / green
438ec47484
feat!: update to rollup v4 (#1018) 2023-10-16 12:39:54 +00:00
三咲智子 Kevin Deng
9b813620a8
chore: correct default value jsdoc of splitting 2023-08-29 17:20:33 +08:00
三咲智子 Kevin Deng
d870f4e76c
feat: add option for interop default in cjs (#947) 2023-08-02 23:05:34 +08:00
三咲智子 Kevin Deng
692c112ac8
refactor: remove enum fix (#948) 2023-07-17 09:37:19 +08:00
EGOIST
87b80ca8bc chore: tweak cli help 2023-06-26 00:20:57 +08:00
EGOIST
612cabf1c1 fix: allow to kill onSuccess process using SIGKILL signal, closes #936 2023-06-26 00:19:50 +08:00
EGOIST
c151d5327c chore: update extensions in cleanup 2023-06-25 17:06:03 +08: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
Mathis Møller
23e25cd779
fix: Remove SWC and Terser minification clash (#881) 2023-06-16 14:40:12 +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
翠 / green
2f41663dc2
fix: prefix terser log with name (#899) 2023-06-16 14:21:21 +08:00
ckohen
cfa6bba24b
fix(external): match root paths on unix-like and windows (#891) 2023-06-16 14:08:35 +08:00
spifory
b10a1adcf8
refactor(options)!: type format as Format (#877)
This types Options.format as `Format[] | Format` instead of `Format[] | string`
2023-06-16 14:07:09 +08:00
EGOIST
45832d999e feat: require nodejs 16 or above
BREAKING CHANGE:

require nodejs 16 or above
2023-06-16 13:55:41 +08:00
await-ovo
01169b3975
feat: add function type for options.injectStyle (#855) 2023-03-19 17:23:14 +08:00
EGOIST
9639352a3b refactor(plugin-api): expose entryPoint and more info in chunkInfo 2023-02-14 17:18:08 +08:00
EGOIST
a85439df25 fix(types): make sure enum starts with declare keyword
closes #834
2023-02-12 21:00:18 +08:00
EGOIST
30ff79db91 feat: upgrade esbuild 0.16 -> 0.17 2023-02-07 22:17:03 +08:00
EGOIST
df6d1de244 chore: update target type 2023-02-07 21:20:03 +08:00