Improved
v2.0.0-alpha.1
What's Changed
Breaking Changes π
- feat!: revert enable verbatimModuleSyntax by @hardfist in https://github.com/web-infra-dev/rspack/pull/12846
New Features π
- feat: improve external module rendering by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12813
- feat: builtin react server component by @SyMind in https://github.com/web-infra-dev/rspack/pull/12012
- feat: expose dependency loc to js by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/12840
Bug Fixes π
- fix(template): add @rspack/dev-server to dev dependencies by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12821
- fix: normalize paths for extract source map by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12825
- fix(mf): use dynamic exports type for MF modules by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/12841
- fix: should not panic when access slate stats by @SyMind in https://github.com/web-infra-dev/rspack/pull/12839
- fix(mf): prevent entry-specific chunks from polluting manifest assets and refactor manifest generation by @2heal1 in https://github.com/web-infra-dev/rspack/pull/12836
Refactor π¨
- refactor: align IncrementalPass with rspack hooks naming by @hardfist in https://github.com/web-infra-dev/rspack/pull/12817
- refactor: remove misleadning naming and adjust cache call place by @hardfist in https://github.com/web-infra-dev/rspack/pull/12818
- refactor: unify persistent_cache and memory_cache recover logic by @hardfist in https://github.com/web-infra-dev/rspack/pull/12829
- refactor: additional chunk runtime requirements hook use readonly compilation ref by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12828
- refactor: move recover build_chunk_graph into artifact by @hardfist in https://github.com/web-infra-dev/rspack/pull/12835
Document Updates π
- docs: update externals function callback about
booleantype by @9aoy in https://github.com/web-infra-dev/rspack/pull/12824 - docs: add tip for devtool's cheap modifier in production build by @SyMind in https://github.com/web-infra-dev/rspack/pull/12849
Other Changes
- release: version 2.0.0-alpha.0 by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/12815
- chore(ci): read size limit threshold from env variable by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12822
- chore(deps): update dependency lodash-es to v4.17.23 [security] by @renovate[bot] in https://github.com/web-infra-dev/rspack/pull/12833
- chore(test): exclude flaky native watch test case by @stormslowly in https://github.com/web-infra-dev/rspack/pull/12837
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v2.0.0-alpha.0...v2.0.0-alpha.1