70 Commits

Author SHA1 Message Date
Alistair Smith
f674d582bc
feat: support bun plugin (#539)
* loose start for bun plugin

* implement bun

* support emitFile()

* fix Bun cases in integration test

* add bun to other test files

* remove bun-types-no-globals from github

* restore bun-types-no-globals from npm @^1.2

* bun does not yet support .onEnd, so for now we shouldn't fake it with brittle workarounds

* add Bun in the documentation

* some missing bun references in docs

* support multiple plugins

* use Bun namespace instead of importing module that won't necessarily exist

* Bun is a cute pink color!

* fix the transform hook

* fix for virtual modules

* tidy up

* setup bun in ci

* revert unplugin require path

* ignore bun in test-out folders

* update tests

* support onEnd

* remove

* implement guessLoader(), bun also now supports onEnd()

* don't eat errors/warnings

* we dont need to outdir for bun in this test

* bun writebundle test

* Update to bun@1.2.22 (supports onEnd and onResolve)

* use onStart()

* define onStart() in mocks

* onStart

* ci: run vitest in Bun so we can run bun's tests

* Bun error message if building outside of Bun

* skip bun specific tests when not running in bun

* refactor

* allow only

* ci: fix typecheck

---------

Co-authored-by: Kevin Deng <sxzz@sxzz.moe>
2025-11-03 18:30:00 +08:00
三咲智子 Kevin Deng
c64d19b1e5
feat: rolldown is out of experimental now 2025-04-10 04:34:37 +08:00
三咲智子 Kevin Deng
5a3dbccfe1
chore: update vite domain 2025-04-10 04:32:49 +08:00
三咲智子 Kevin Deng
41e2a590cf
refactor(rspack): remove experimental notice 2024-07-23 13:29:07 +08:00
Matteo Pietro Dazzi
1d7e13f06a
fix: farmfe link (#387) 2024-06-26 12:47:26 +02:00
ADNY
731a596d3a
feat: support farm plugin (#341)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2024-03-13 09:36:41 +01:00
yuyin
2a1dbeff92
docs: update site link (#371) 2024-03-13 07:35:30 +01:00
三咲智子 Kevin Deng
ccdaa6ae4e
chore: mark rolldown as experimental feature 2024-03-09 02:27:20 +08:00
Anthony Fu
3b05d44106
docs: move to docs site 2024-01-19 12:01:06 +01:00
Erik Demaine
2f6593959d
feat: esbuild support for addWatchFile and getWatchFiles (#345)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2023-12-26 15:02:30 +01:00
Erik Demaine
670eb3799b
feat: esbuild config option to modify build options (#357) 2023-12-26 14:57:41 +01:00
Anthony Fu
e44d329173 chore: update deps 2023-12-26 14:56:58 +01:00
beqa
a94366c294
feat(esbuild): added support for esbuild loader option (#337) 2023-09-18 01:26:01 +08:00
Anthony Fu
e2fee79e7d chore: update links 2023-09-02 16:02:41 +02:00
Anthony Fu
33bab0239d chore: updated deps 2023-08-16 12:29:40 +02:00
三咲智子 Kevin Deng
970412bace
fix!: function typo 2023-07-17 02:07:58 +08:00
三咲智子 Kevin Deng
856b0736db
feat(rspack): support enforce 2023-06-04 03:53:07 +08:00
白雾三语
d3b2bc1883
docs: added uplugin-vue-cssvars (#307) 2023-05-23 12:43:13 +02:00
Luca Forstner
efbbba5950
feat: add top-level functions to create platform-specific plugins (#301) 2023-05-16 10:27:18 +02:00
三咲智子 Kevin Deng
2ebc311548
chore: correct esbuild in buildEnd stage 2023-04-03 18:42:04 +08:00
Jevon
7238e92bf1
docs: add unplugin-svg-component (#290)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2023-03-22 11:06:03 +01:00
Sacha Stafyniak
80a61d10bf
feat: add unplugin-fonts (#292)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2023-03-22 11:05:21 +01:00
Steven Eubank
a2ebf99200
docs: add Sentry's unplugin repo (#294) 2023-03-22 11:04:50 +01:00
三咲智子 Kevin Deng
525f69b277
feat: experimental support for rspack (#285)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2023-03-11 12:24:52 +01:00
三咲智子 Kevin Deng
095849b6c0
fix!: drop watchChange hook for esbuild (#284) 2023-03-11 12:15:36 +01:00
TOMIKAWA Sotaro
34bc653abd
docs: add a community showcase typedotenv (#276) 2023-03-11 13:47:33 +08:00
三咲智子 Kevin Deng
72f827e36a
chore: fix lint (#283) 2023-03-10 09:32:09 +01:00
Sébastien Chopin
3bf35cd54f
chore(readme): update badges 2023-03-08 15:15:43 +01:00
三咲智子 Kevin Deng
fdc8dd5097
chore: add sxzz/unplugin-starter (#274) 2023-02-11 22:07:34 +01:00
ADNY
63dc25a5bd
docs: add unplugin-imagemin (#202) 2022-11-29 19:50:16 +08:00
kricsleo
b22504c9f9
docs: add a community showcase (#197) 2022-11-23 11:05:37 +08:00
Luca Forstner
160ec72e93
feat: add writeBundle hook (#179)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-10-22 19:11:24 +08:00
Anthony Fu
1b0d1eade6 docs: update readme 2022-10-18 14:51:03 +08:00
三咲智子 (Kevin)
d35e0552d0
feat: support nested plugins (#176)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-10-18 11:45:30 +08:00
三咲智子 (Kevin)
b4525f6fe8
docs: add more examples & update license (#177) 2022-10-14 17:35:50 +08:00
Johnwesley R
ed27955fed
docs: add create-unplugin to starter templates (#167)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-09-21 10:58:53 +08:00
Nozomu Ikuta
96d244272e
docs: add conventions (#165)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-09-03 12:05:22 +08:00
Vladan Paunovic
6d36eefbcb
docs: typo (#159) 2022-08-24 09:40:57 +08:00
Anthony Fu
d1bff274b0 docs: re-order hooks 2022-08-21 22:10:51 +08:00
Anthony Fu
7482dc1fcd
feat: introduce new loadInclude hook (#157) 2022-08-21 22:08:38 +08:00
三咲智子
0ce3a4991f
chore: add examples (#130) 2022-06-22 20:32:34 +08:00
Maksim Nedoshev
56f0c18bdd
docs: added unplugin-object-3d example (#120)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-06-14 01:07:25 +08:00
TOMIKAWA Sotaro
984b3afcf6
docs: add example unplugin-parcel-css (#121) 2022-06-14 01:06:59 +08:00
Maksim Nedoshev
411645a5ad
docs: add warn and error context methods to Readme (#119) 2022-06-10 08:58:02 +08:00
Anthony Fu
8f5c6ad6a7 feat: support this.parse, close #90 2022-06-06 14:46:28 +08:00
dengqing
08ed4fab53
Update README.md (#71) 2022-04-16 08:32:14 +08:00
Rongjian Zhang
6dae10ccae
docs: add an example (#60) 2022-04-04 09:11:58 +08:00
Johnwesley R
3bfd523aee
feat: add context functions to more hooks, fix async hooks (#57)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-03-15 15:33:35 +08:00
Johnwesley R
544e66cd98
feat: add watch hook and context functions (#55) 2022-03-07 19:02:28 +08:00
Zeno
afd6c16116
chore: add example (#54) 2022-03-01 00:24:54 +08:00