Skip to content

5.0.0-alpha.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@jbroma jbroma released this 12 Sep 13:46
· 70 commits to main since this release
849db95

Important Notes

This release introduces long-awaited support for Rspack while maintaining full compatibility with webpack.

Try it Out:
To bootstrap a new project or migrate an existing project from Metro, run:

npx @callstack/[email protected]

Upgrading from Version 4:

  1. Open react-native.config.js and update the line:

    require('callstack/repack/commands')

    to:

    require('callstack/repack/commands/rspack')
  2. Install the necessary Rspack dependencies:

    npm install @rspack/core @rspack/plugin-react-refresh @swc/helpers --save-dev
  3. Check out the new Rspack templates for configuration and migrate your existing Webpack configurations to Rspack:

    MJS Template: rspack.config.mjs
    CJS Template: rspack.config.cjs

Migration Guide: if you are migrating from Webpack to Rspack, refer to the official guide: Rspack Migration Guide

Major Changes