github web-infra-dev/rspack v2.0.0-beta.8

latest release: crates@0.100.0-beta.8
2 hours ago

What's Changed

Performance Improvements ⚡

New Features 🎉

  • feat: tree shaking for inlined members access dynamic import by @ahabhgk in #13381
  • feat: add EsmNodeTargetPlugin for ESM-aware node builtin externals by @JSerFeng in #13370
  • feat(pnp)!: drop multi yarn pnp project resolving by @stormslowly in #13389
  • feat(rsdoctor): add support for dependency connections by @yifancong in #13384
  • feat: enable mangle exports for cjs reexport by @ahabhgk in #13413
  • feat(rstest): support unmockRequire methods by @9aoy in #13412

Bug Fixes 🐞

  • fix(esm-lib): avoid exporting webpack_require and useless runtime when runtimeChunk is false by @JSerFeng in #13374
  • fix: optimize concatenated module code generation hot paths by @LingyuCoder in #13375
  • fix: avoid analyze cjs tree shaking for user defined require by @ahabhgk in #13401
  • fix(esm-lib): replace panics in get_module_chunk with Result-based error handling by @JSerFeng in #13396
  • fix(rsc): should compile css without use server-entry by @SyMind in #13402
  • fix: deduplicate source name stable by @SyMind in #13416
  • fix(esm-library): deduplicate external module import identifiers in ESM output by @JSerFeng in #13418
  • fix(esm-lib): use package name for node_modules short name in dynamic imports by @JSerFeng in #13406
  • fix: add coverage for esm library linking, and fix linking errors by @JSerFeng in #13424
  • fix: should enforce orphan:false for concatenated module by @JSerFeng in #10317
  • fix: lightningcss with previous loader source maps by @SyMind in #13436
  • fix: duplicate-sources-order by @SyMind in #13438
  • fix(core): implement new Map methods on Compilation.entries by @chenjiahan in #13444
  • fix(core): preserve external namespace access in esm externals by @JSerFeng in #13442

Refactor 🔨

Document Updates 📖

Other Changes

Full Changelog: v2.0.0-beta.7...v2.0.0-beta.8

Don't miss a new rspack release

NewReleases is sending notifications on new releases.