756 Commits

Author SHA1 Message Date
Kevin Deng
8dae26f9cc
chore: lint 2025-12-05 03:16:17 +08:00
Kevin Deng
ba44bff32b
chore: upgrade deps 2025-12-05 03:15:09 +08:00
Kevin Deng
79eef231fe
chore: upgrade deps 2025-12-03 05:13:12 +08:00
Kevin Deng
b9c66cdf15
chore: setup tsgo 2025-12-03 05:12:06 +08:00
Kevin Deng
daf0a3955b
perf: lazy load webpack-virtual-modules 2025-12-03 05:10:48 +08:00
tangye
6dd76a50e9
fix: also add dependency path to loaderContext for virtual module hmr (#556)
Co-authored-by: Ye Tang <ye.tang@rightcapital.com>
2025-11-27 16:21:17 +09:00
renovate[bot]
12b564c48d
chore(deps): update all non-major dependencies (#566)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-23 23:54:16 +08:00
Kevin Deng
a3b0255a39
chore: release v3.0.0-beta.3 v3.0.0-beta.3 2025-11-21 10:45:34 +08:00
renovate[bot]
188a18969b
chore(deps): update pnpm.catalog.docs vitepress to v2.0.0-alpha.13 (#529)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-21 10:26:32 +08:00
sethfowler-datadog
a8975f7010
feat: expose input source map for webpack-like bundlers (#562) 2025-11-21 10:26:06 +08:00
Kevin Deng
c1cf2213a8
chore: upgrade deps 2025-11-21 10:17:15 +08:00
Kevin Deng
dee909940c
ci: upgrade deps 2025-11-21 10:15:59 +08:00
Kevin Deng
86653da9a4
chore: upgrade deps 2025-11-19 00:55:58 +08:00
Kevin Deng
9d2b5e4f0f
Merge remote-tracking branch 'origin/main' into v3 2025-11-19 00:53:29 +08:00
abeer0
2b7fb01640
chore: enable pnpm trust policy (#559) 2025-11-18 23:59:37 +08:00
Kevin Deng
d377f4d512
refactor(unloader): use native filter 2025-11-09 21:58:02 +08:00
Kevin Deng
3503dd5d33
docs: notice this.parse 2025-11-04 15:21:43 +08:00
Kevin Deng
37a74bd133
test: remove this.parse test 2025-11-04 15:17:15 +08:00
Kevin Deng
f4cf1c59fc
chore: release v3.0.0-beta.2 v3.0.0-beta.2 2025-11-04 14:47:26 +08:00
Kevin Deng
40e4a049c3
feat!: remove acorn dependency and require custom parser setup
Users must now call `setParseImpl` to provide custom parsing logic before invoking `this.parse`.
Acorn has been removed as a dependency.

closes #480
2025-11-04 14:45:23 +08:00
Kevin Deng
d153346bb2
chore: release v3.0.0-beta.1 v3.0.0-beta.1 2025-11-03 18:34:16 +08:00
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
ffc1e55446
feat!: drop node 18 support, drop CJS build (#558)
* feat!: drop node 18 support, drop CJS build

Requires Node.js version 20.19.0, 22.12.0, or later.

* fix
2025-11-03 17:52:18 +08:00
Kevin Deng
213829882e
chore: fix lint 2025-11-03 17:15:04 +08:00
Kevin Deng
5e81488d1c
ci: upgrade actions 2025-11-03 17:14:22 +08:00
Kevin Deng
45ec8dd664
chore: upgrade deps 2025-11-03 17:11:23 +08:00
KeJun
e1dfe0f411
docs: add unplugin-preprocessor-directives (#557) 2025-11-02 21:52:35 +08:00
Julien Elbaz
5fe9a46069
refactor(rspack): remove pid in virtual path when unnecessary (#549) 2025-10-13 20:59:37 +02:00
Anthony Fu
b6b2e6e431
chore: simplify scripts 2025-09-24 08:51:33 +09:00
renovate[bot]
7055e3fb6a
chore(deps): update actions/setup-node action to v5 (#544)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-04 13:40:17 +08:00
Kevin Deng
8ab4810d89
chore: release v2.3.10 v2.3.10 2025-08-31 19:14:00 +08:00
Kevin Deng
98398a2f18
fix: native filter detection 2025-08-31 19:12:08 +08:00
Kevin Deng
0c0eec730d
chore: release v2.3.9 v2.3.9 2025-08-28 17:58:27 +08:00
Julien Elbaz
365188ec99
feat(rspack): use native virtual plugin (#542) 2025-08-28 14:07:33 +08:00
Julien Elbaz
ca420803f2
fix(rspack): remove virtual plugin cleanup signal handlers (#541)
* fix(rspack): remove virtual plugin cleanup signal handlers

* chore: make cleanup listener register lazily
2025-08-27 16:59:57 +08:00
renovate[bot]
91df19ad8f
chore(deps): update actions/upload-pages-artifact action to v4 (#540)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-23 05:05:55 +08:00
三咲智子 Kevin Deng
ce28d75087
chore: release v2.3.8 v2.3.8 2025-08-21 10:06:24 +08:00
三咲智子 Kevin Deng
a9d2c73b20
chore: upgrade deps 2025-08-21 10:01:35 +08:00
Julien Elbaz
417a6bf85b
fix(rspack): gate virtual folder behind process pid (#538)
ensures that the node_modules/.virtual folder deletion supports parallel
runs
2025-08-21 09:59:15 +08:00
三咲智子 Kevin Deng
ca4047e259
chore: release v2.3.7 v2.3.7 2025-08-20 19:52:43 +08:00
Julien Elbaz
cfbc208e78
fix(rspack): prevents an unhandled promise rejection when throwing in the async loader (#536) 2025-08-20 19:34:34 +08:00
三咲智子 Kevin Deng
376d578666
chore: release v2.3.6 v2.3.6 2025-08-16 17:54:58 +08:00
三咲智子 Kevin Deng
9907b6a1f8
ci: publish on CI 2025-08-16 17:51:50 +08:00
三咲智子 Kevin Deng
cde7857651
refactor: move @jridgewell/remapping to production dep 2025-08-14 06:17:28 +08:00
三咲智子 Kevin Deng
2cfa1b813b
docs: upgrade vitepress 2025-08-14 06:12:39 +08:00
三咲智子 Kevin Deng
4237c714fe
ci: update 2025-08-14 06:07:36 +08:00
三咲智子 Kevin Deng
00805c241d
chore: upgrade deps 2025-08-14 06:02:22 +08:00
Michaël De Boey
de6ed5072e
refactor: update @ampproject/remapping to @jridgewell/remapping (#534) 2025-08-14 06:00:43 +08:00
renovate[bot]
1e272c1fcc
chore(deps): update actions/checkout action to v5 (#533)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-12 00:33:03 +08:00
renovate[bot]
5491de48a3
chore(deps): update rspack to ^1.4.11 (#527)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-10 01:40:51 +00:00