chore(deps): update dependency @rslib/core to v0.17.0 #380
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.15.0->0.17.0Release Notes
web-infra-dev/rslib (@rslib/core)
v0.17.0Compare 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:
To address these issues once and for all, we introduced an experimental plugin called EsmLibraryPlugin, purpose-built for constructing clean and efficient ESM libraries:
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:
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.
What's Changed
New Features 🎉
experiments.advancedEsmwith Rspack's EsmLibraryPlugin by @JSerFeng in #1273Other Changes
New Contributors
Full Changelog: web-infra-dev/rslib@v0.16.1...v0.17.0
v0.16.1Compare Source
What's Changed
Bug Fixes 🐞
Other Changes
output.distPathmerge logic by @Timeless0911 in #1285requirein configuration file by @chenjiahan in #1288Full Changelog: web-infra-dev/rslib@v0.16.0...v0.16.1
v0.16.0Compare 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.What's Changed
New Features 🎉
output.distPathas dts emit path by @Timeless0911 in #1269Bug Fixes 🐞
output.distPathcorrectly by @Timeless0911 in #1270'javascript/esm'files by @Timeless0911 in #1274import.meta.urlshims in async chunks by @Timeless0911 in #1281Document 📖
Other Changes
output.distPathby @Timeless0911 in #1271Full Changelog: web-infra-dev/rslib@v0.15.1...v0.16.0
v0.15.1Compare Source
What's Changed
Bug Fixes 🐞
moduleas normal variable in ESM by @fi3ework in #1260Document 📖
Other Changes
Full Changelog: web-infra-dev/rslib@v0.15.0...v0.15.1
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.
This PR was generated by Mend Renovate. View the repository job log.