v0.5.7
What's Changed
Highlights
Support experimental SWC wasm plugins for builtin:swc-loader
Aligned wasm plugin architecture with JavaScript swc-loader
.
Check out the detail at swc plugins.
{
loader: "builtin:swc-loader",
options: {
jsc: {
experimental: {
plugins: [
[
"@swc/plugin-remove-console",
{
exclude: ["error"],
},
],
],
},
},
},
};
Great work done by @dm33tri π.
Exciting New Features π
- feat: side effects bailout out stats by @IWANABETHATGUY in #5803
- feat: support stage for processAssets by @ahabhgk in #5861
- feat: support
module.noParse
by @xc2 in #5829 - feat: entrypoint.getRuntimeChunk by @ahabhgk in #5914
Bug Fixes π
- fix: webpackMode eager for dynamic import by @ahabhgk in #5850
- fix: panic pass query to loader without resource with resource query by @SyMind in #5832
- fix(wasm): add fallback for MIME mismatch error in async wasm loading by @magic-akari in #5491
- fix: proc macro should keep generics by @JSerFeng in #5860
- fix(rspack_loader_swc): enable SWC plugins by @dm33tri in #5808
- fix: π bailout stats location by @IWANABETHATGUY in #5864
- fix: fix some "changes didn't emit a rebuild" issues by @xc2 in #5837
- fix: π should not mangle css module identifier by @IWANABETHATGUY in #5876
- fix: export default alias by @IWANABETHATGUY in #5875
- fix: use uniqueName in css loading by @LingyuCoder in #5870
- fix: export string name in harmony module by @LingyuCoder in #5888
- fix: css loading runtime order by @ahabhgk in #5896
- fix: context request position change error by @LingyuCoder in #5893
- fix: empty resource query and fragment by @ahabhgk in #5899
- fix: alias should have order by @LingyuCoder in #5901
Other Changes
- chore: disable jest transform by @h-a-n-a in #5854
- chore: disable webpack-test jest transform by @h-a-n-a in #5855
- chore: align webpack type by @SyMind in #5857
- chore: x script support force build by @h-a-n-a in #5858
- chore(deps): update napi to v2.16.0 by @renovate in #5811
- revert: "fix(rspack_loader_swc): enable SWC plugins" by @h-a-n-a in #5865
- chore(deps): update crates by @renovate in #5862
- chore: support test release build in CI and enable windows test in CI by @jerrykingxyz in #5880
- chore: remove duplicate "uses" by @jerrykingxyz in #5881
- chore: test toolkit by @LingyuCoder in #5755
- chore: fix some comments by @hishope in #5882
- refactor(core): move
Compilation::update_module_graph
to its own file by @Boshen in #5884 - revert: "revert: "fix(rspack_loader_swc): enable SWC plugins"" by @h-a-n-a in #5866
- test: make sure import not run after it by @LingyuCoder in #5889
- refactor: move module_graph_module to module_graph folder by @jerrykingxyz in #5886
- test: run async node library exports may cause error in ci by @LingyuCoder in #5890
- refactor(core): add a
UpdateModuleGraph
struct withcutout
andrepair
steps by @Boshen in #5891 - chore: print eco ci result in commit by @SyMind in #5895
- chore(testng): should not share runner between multiple compiler when run same file by @LingyuCoder in #5898
- refactor(core): move compiler/queue.rs to compiler/make/queue.rs by @Boshen in #5892
- refactor: query js taps from stage range by @ahabhgk in #5903
New Contributors
Full Changelog: v0.5.6...v0.5.7