npm @rspack/core 1.5.3
v1.5.3

20 hours ago

Highlights 💡

Advanced tree-shaking

Rspack v1.5.3 ships advanced tree-shaking for dynamic imports via member expression analysis.

Ongoing improvements are in progress, and upcoming releases will continue to improve static analysis to cover more syntax patterns, such as dynamic import with a subsequent .then().

image

What's Changed

Performance Improvements ⚡

New Features 🎉

  • feat(browser): support ModuleFederationPlugin by @CPunisher in #11558
  • feat: simplify mock logic, dynamic import based hoist by @fi3ework in #11521
  • feat: add css field support in Experiments configuration by @ityuany in #11548
  • feat: add start time parameter to NativeWatcher by @GiveMe-A-Name in #11570
  • feat: tree shake statically analyse-able dynamic import by @ahabhgk in #11457
  • feat: static analyze in operator for esm import specifier by @ahabhgk in #11613
  • feat(browser): add postprocess and ResolvedRequest to BrowserHttpImportEsmPlugin by @CPunisher in #11571

Bug Fixes 🐞

Refactor 🔨

Document Updates 📖

Other Changes

  • chore(deps): update dependency @rsbuild/plugin-sass to ^1.4.0 by @renovate[bot] in #11564
  • chore(deps): update dependency @shikijs/transformers to ^3.12.1 by @renovate[bot] in #11566
  • chore(deps): update dependency @rspack/plugin-react-refresh to ^1.5.0 by @renovate[bot] in #11565
  • chore: use pnpm in package.json scripts by @ahabhgk in #11520
  • chore: use local package for scripts by @ahabhgk in #11572
  • chore(workflow): allow renovate to update SWC related crates by @chenjiahan in #11580
  • chore(deps): update crate swc_core to v38.0.1 by @renovate[bot] in #11586
  • chore: update Rspress to beta.31 to use JSON schemas by @chenjiahan in #11596
  • chore(deps): update dependency memfs to v4.38.2 by @renovate[bot] in #11603
  • chore(deps): update swc (major) by @renovate[bot] in #11606

New Contributors

Full Changelog: v1.5.2...v1.5.3

Don't miss a new core release

NewReleases is sending notifications on new releases.