@nx/rspack:migrations | Nx

Migration References

Here is a list of all migrations available for this package.

  • 20.5.x

  • 20.5.0-package-updates

    Version: 20.5.0-beta.4

    Packages

    NameVersionAlways Add to package.json
    sass-loader^16.0.4Update only
    @rspack/core^1.2.2Update only
  • 20.3.x

  • ensure-nx-module-federation-package

    If workspace includes Module Federation projects, ensure the new @nx/module-federation package is installed.

    Version: 20.3.0-beta.2

    Ensure the @nx/module-federation Package is Installed

    If workspace includes Module Federation projects, ensure the new @nx/module-federation package is installed.

    Sample Code Changes

    package.json
    1{ 2 "dependencies": {} 3} 4
  • 20.2.x

  • 20.2.0-package-updates

    Version: 20.2.0-beta.7

    Packages

    NameVersionAlways Add to package.json
    @rspack/core^1.1.5Update only
    @rspack/dev-server^1.0.9Update only

    update-20-2-0-update-with-module-federation-import

    Update the withModuleFederation import use @nx/module-federation/rspack.

    Version: 20.2.0-beta.3

    Migrate withModuleFederation Import to New Package

    Update the withModuleFederation import to use @nx/module-federation/rspack.

    Sample Code Changes

    Update import paths for withModuleFederation and withModuleFederationForSSR.

    apps/shell/rspack.config.ts
    1import { 2 withModuleFederation, 3 withModuleFederationForSSR, 4} from '@nx/rspack/module-federation'; 5
  • 19.7.x

  • 19.7.0-package-updates

    Version: 19.7.0-beta.1

    Packages

    NameVersionAlways Add to package.json
    @rspack/core^1.0.0Update only
    @rspack/dev-server^1.0.0Update only
    @rspack/plugin-react-refresh^1.0.0Update only
  • 19.3.x

  • 19.3.0-package-updates

    Version: 19.3.0-beta.0

    Packages

    NameVersionAlways Add to package.json
    @rspack/core^0.7.5Update only
    @rspack/dev-server^0.7.5Update only
    @rspack/plugin-minify^0.7.5Update only
  • 18.1.x

  • 18.1.3-package-updates

    Version: 18.1.3

    Packages

    NameVersionAlways Add to package.json
    @rspack/core^0.6.1Update only
    @rspack/dev-server^0.6.1Update only
    @rspack/plugin-minify^0.6.1Update only

    18.1.0-package-updates

    Version: 18.1.0-beta.0

    Packages

    NameVersionAlways Add to package.json
    @rspack/core~0.5.6Update only
    @rspack/dev-server~0.5.6Update only
    @rspack/plugin-minify~0.5.6Update only