npm @rspack/cli 0.4.3
v0.4.3

latest releases: 0.7.6-canary-fd6c40d-20240918093542, 1.0.5, 1.0.4...
9 months ago

Highlights

Support optimization.splitChunks.hidePathInfo

Prevents exposing path info when creating names for parts splitted by maxSize.

Support splitChunks.automaticNameDelimiter

By default rspack will generate names using origin and name of the chunk (e.g. vendors~main.js). This option lets you specify the delimiter to use for the generated names. doc

Support splitChunks.cacheGroups.{cacheGroup}.filename

Sets the hint for chunk id. It will be added to chunk's filename. doc

What's Changed

Performance Improvements ⚡

  • refactor: key performance in merge_matched_item_into_module_group_map by @aweary in #4851

Exciting New Features 🎉

Bug Fixes 🐞

Other Changes

  • chore(runtime-diff): align module decorator runtime modules with webpack by @LingyuCoder in #4891
  • chore(runtime-diff): alignment of hot module replacement runtime module by @LingyuCoder in #4856
  • chore: remove all skipLibCheck by @xiaoxiangmoe in #4910
  • chore: add build:cli:release:{platform} scripts by @aweary in #4859
  • test: prevent .DS_store been add to test cases on macos by @LingyuCoder in #4920
  • refactor: de-hardcoded module factory and move mf out of core by @ahabhgk in #4925
  • chore: deprecate @rspack/plugin-node-polyfill by @hardfist in #4937
  • chore: add debug info under panic with debug build by @h-a-n-a in #4940
  • chore(runtime-diff): alignment of get chunk filename by @LingyuCoder in #4500
  • refactor: error and diagnostics by @h-a-n-a in #4866
  • refactor: miette::Error as Diagnostic and rspack_error::Error by @h-a-n-a in #4892
  • chore: optimize diff test case by @LingyuCoder in #4950
  • refactor: should not always rely on Result by @h-a-n-a in #4880
  • chore(webpack-test): enable resolving/browser-field tests by @Boshen in #4952
  • test(runtime): add test case of using [id] in get chunk filename runtime module by @LingyuCoder in #4972
  • chore(runtime-diff): alignment of startup chunk dependencies runtime module by @LingyuCoder in #4508

New Contributors

Full Changelog: v0.4.2...v0.4.3

Don't miss a new cli release

NewReleases is sending notifications on new releases.