Skip to content

Comments

chore(deps): update dependency @rslib/core to v0.17.2#2760

Merged
Timeless0911 merged 1 commit intomainfrom
renovate/rslib-core-0.x
Nov 17, 2025
Merged

chore(deps): update dependency @rslib/core to v0.17.2#2760
Timeless0911 merged 1 commit intomainfrom
renovate/rslib-core-0.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 14, 2025

This PR contains the following updates:

Package Change Age Confidence
@rslib/core (source) 0.16.1 -> 0.17.2 age confidence

Release Notes

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

v0.17.2

Compare Source

What's Changed

New Features 🎉
Bug Fixes 🐞
Document 📖
Other Changes

Full Changelog: web-infra-dev/rslib@v0.17.1...v0.17.2

v0.17.1

Compare Source

What's Changed

New Features 🎉
Bug Fixes 🐞
Other Changes

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

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


Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 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.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

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

@netlify
Copy link

netlify bot commented Nov 14, 2025

Deploy Preview for rspress-v2 ready!

Name Link
🔨 Latest commit b646c60
🔍 Latest deploy log https://app.netlify.com/projects/rspress-v2/deploys/691a9d50162236000898d414
😎 Deploy Preview https://deploy-preview-2760--rspress-v2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@renovate renovate bot force-pushed the renovate/rslib-core-0.x branch from 29a07a2 to b646c60 Compare November 17, 2025 03:58
@github-actions
Copy link
Contributor

Rsdoctor Bundle Diff Analysis

Metric Current Baseline Change
📊 Total Size 14.3 MB 14.3 MB 5.0 KB (0.0%)
📄 JavaScript 13.7 MB 13.7 MB 5.0 KB (0.0%)
🎨 CSS 109.1 KB 109.1 KB 0 B (0.0%)
🌐 HTML 0 B 0 B N/A
📁 Other Assets 496.7 KB 496.7 KB 0 B (0.0%)

A detailed bundle diff analysis has been generated using Rsdoctor. You can download and view the interactive HTML report from the workflow artifacts.

📦 Download Link: Download Bundle Diff Report

Generated by Rsdoctor Action

@Timeless0911 Timeless0911 enabled auto-merge (squash) November 17, 2025 04:02
@Timeless0911 Timeless0911 merged commit dab4406 into main Nov 17, 2025
9 checks passed
@Timeless0911 Timeless0911 deleted the renovate/rslib-core-0.x branch November 17, 2025 04:09
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.

1 participant