github web-infra-dev/rspack v0.5.1

latest releases: v1.1.1, v1.1.0, v1.1.0-beta.0...
10 months ago

What's Changed

Highlights

Rspack Examples

Rspack configuration examples are moved to rspack-examples.

This repository contains all rspack, rsbuild and rspress configuration examples. Contributions are welcome for expanding the examples.

Resolve

  • Deprecated resolve.browserField in favor of resolve.aliasFields.
  • Added resolve.preferAbsolute, resolve.restrictions, resolve.roots and resolve.aliasFields options

Better module resolution hints

img_v3_0275_89cbdb90-0e38-44ba-a14d-7b0587df147g

img_v3_0275_a8db6ea0-d5fc-4f1f-8ae4-84e753104cag

Exciting New Features 🎉

  • feat(swc_plugin_import): support camelCase and snake_case (#5283)
  • feat: deprecate resolve.browserField and enable resolve.{preferAbsolute,restrictions,roots,aliasFields} (#5223)
  • feat: introduce JavascriptParser (#5280)
  • feat: resolve with hint (#5178)
  • feat: support module build error (#5286)

Bug Fixes 🐞

  • fix: cjs module reexport unused error (#5291)
  • fix: fix cli command alias bug (#5307)
  • fix: module graph incorrect when delete or create file (#5301)
  • fix: should not assume module directories always exist (#5326)
  • fix: unregistered case handler should not panic (#5330)

Performance Improvements ⚡

  • perf: lazily init help message (#5309)

Chores

  • chore(diff): fix diff detail output (#5299)
  • chore: add link to rspack-contrib/rspack-examples in README (#5297)
  • chore: bump oxlint to v0.2.0 (#5327)
  • chore: nightly release alert when failed (#5323)
  • chore: remove examples directory (to github.com/rspack-contrib/rspack-examples) (#5296)
  • chore: remove unused Rust dependencies (#5312)
  • chore: turn off --bail --forceExit --logHeapUsage from webpack test (#5303)
  • chore: upgrade Rust to v1.75.0 (nightly) (#5305)
  • chore: use pnpm v8 default flags (#5304)
  • test: replace error stack in test (#5325)

Don't miss a new rspack release

NewReleases is sending notifications on new releases.