Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 1, 2025

This PR contains the following updates:

Package Change Age Confidence Type Update
@rslib/core (source) ^0.15.1 -> ^0.17.0 age confidence devDependencies minor
@rspack/core (source) ^1.5.8 -> ^1.6.0 age confidence devDependencies minor
@rstest/core (source) ^0.5.3 -> ^0.6.1 age confidence devDependencies minor
@types/node (source) ^22.17.0 -> ^22.18.13 age confidence devDependencies minor
bumpp ^10.2.3 -> ^10.3.1 age confidence devDependencies minor
cross-env ^10.0.0 -> ^10.1.0 age confidence devDependencies minor
fs-extra 11.3.0 -> 11.3.2 age confidence devDependencies patch
node 20 -> 20.19.5 age confidence uses-with minor
pnpm (source) 10.14.0 -> 10.20.0 age confidence packageManager minor
react-refresh (source) ^0.17.0 -> ^0.18.0 age confidence devDependencies minor
semver 7.7.2 -> 7.7.3 age confidence devDependencies patch
typescript (source) 5.9.2 -> 5.9.3 age confidence devDependencies patch

Release Notes

web-infra-dev/rslib (@​rslib/core)

v0.17.0

Compare Source

Highlights 💡

Improved ESM output

Optimizing ESM output has long been one of the key challenges faced by Rspack. Previously, we relied on module concatenation to optimize ESM outputs, but that approach had several limitations:

  • Impure output – The generated files contained Rspack's runtime code.
  • Prone to errors – Some modules could not be correctly concatenated, leading to unexpected runtime issues.
  • Limited code-splitting support – Split bundles became complex and difficult to analyze or optimize statically.

To address these issues once and for all, we introduced an experimental plugin called EsmLibraryPlugin, purpose-built for constructing clean and efficient ESM libraries:

  • Full control over the bundling process – All modules are linked during compilation, eliminating reliance on Rspack's runtime.
  • Code-splitting support – Code after splitting can be statically analyzed and is tree-shaking friendly.

The image below compares the code splitting output before and after using this plugin — the left side shows the previous output, while the right side shows the cleaner output produced by EsmLibraryPlugin:

Rspack 1.6 ESM output diff

In Rslib, the EsmLibraryPlugin is now integrated out-of-the-box with experiments.advancedEsm enabled to generate ESM output that is high-quality, more friendly to static analysis, and supports code splitting.

export default {
  lib: [
    {
      format: 'esm',
      bundle: true,
      experiments: {
        advancedEsm: true,
      },
    },
  ],
};

[!TIP]
Currently this option only takes effect in bundle mode when format is 'esm'.

What's Changed

New Features 🎉
  • feat: introduce experiments.advancedEsm with Rspack's EsmLibraryPlugin by @​JSerFeng in #​1273
Other Changes

New Contributors

Full Changelog: web-infra-dev/rslib@v0.16.1...v0.17.0

v0.16.1

Compare Source

What's Changed

Bug Fixes 🐞
Other Changes

Full Changelog: web-infra-dev/rslib@v0.16.0...v0.16.1

v0.16.0

Compare Source

Highlights 💡

Additional build CLI options

The Rslib build command now supports additional CLI options that take precedence over configuration file settings, and can even be used without any configuration file entirely.

For example: rslib build --entry index.ts --minify --tsconfig tsconfig.build.json.

Usage:
  $ rslib build

Options:
  -w, --watch            turn on watch mode, watch for changes and rebuild
  --entry <entry>        set entry file or pattern (repeatable)
  --dist-path <dir>      set output directory
  --bundle               enable bundle mode (use --no-bundle to disable)
  --format <format>      specify the output format (esm | cjs | umd | mf | iife)
  --syntax <syntax>      set build syntax target (repeatable)
  --target <target>      set runtime target (web | node)
  --dts                  emit declaration files (use --no-dts to disable)
  --externals <pkg>      add package to externals (repeatable)
  --minify               minify output (use --no-minify to disable)
  --clean                clean output directory before build (use --no-clean to disable)
  --auto-extension       control automatic extension redirect (use --no-auto-extension to disable)
  --auto-external        control automatic dependency externalization (use --no-auto-external to disable)
  --tsconfig <path>      use specific tsconfig (relative to project root)

What's Changed

New Features 🎉
Bug Fixes 🐞
Document 📖
Other Changes

Full Changelog: web-infra-dev/rslib@v0.15.1...v0.16.0

web-infra-dev/rspack (@​rspack/core)

v1.6.0

Compare Source

🎉 See Announcing Rspack 1.6 for more details.

What's Changed

Performance Improvements ⚡
New Features 🎉
Bug Fixes 🐞
Refactor 🔨
Document Updates 📖
Other Changes

New Contributors

Full Changelog: web-infra-dev/rspack@v1.5.8...v1.6.0

web-infra-dev/rstest (@​rstest/core)

v0.6.1

Compare Source

What's Changed

Performance 🚀
Bug Fixes 🐞
  • fix: vscode release error by @​9aoy in [#​647](h

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@chenjiahan chenjiahan merged commit 3ea3f3e into main Nov 1, 2025
4 checks passed
@chenjiahan chenjiahan deleted the renovate/all-minor-patch branch November 1, 2025 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants