unstale

npm / @rspack/core

@rspack/core

What changed in @rspack/core 1 to 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

4 new APIs and options1 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@rspack/core 22 changes

New APIs and options 2

  • Enables React Compiler to automatically optimize React code, with a boolean default configuration or an object for customizing options such as target and compilationMode.

    2.1.0docs

  • Setting detectSyntax to "auto" infers jsc.parser from the resource extension, allowing one rule to handle mixed module types. Explicit jsc.parser.syntax takes precedence.

    2.0.0docs

@rspack/core 13 changes

New APIs and options 2

  • Collects TypeScript AST information for subsequent Rspack processes, providing a better TypeScript development experience and smaller output bundles. Subsequent Normal Loaders must not modify the corresponding AST.

    1.7.0docs

  • Adds an option to collect exported enum information for cross-module inline optimization; supports all enums, no enums, or const enums only.

    1.7.0docs

Fixes and other changes 1

  • Module Federation with exposes works with chunks: 'all', allowing code splitting across initial and async chunks without breaking remote module splitting.

    1.6.2docs