Skip to content

perf(deps): upgrade tinyglobby and use dynamic import#1544

Open
Timeless0911 wants to merge 3 commits intomainfrom
david/chore/upgrade-tinyglobby
Open

perf(deps): upgrade tinyglobby and use dynamic import#1544
Timeless0911 wants to merge 3 commits intomainfrom
david/chore/upgrade-tinyglobby

Conversation

@Timeless0911
Copy link
Contributor

@Timeless0911 Timeless0911 commented Mar 18, 2026

Summary

Upgrade tinyglobby to v0.2.15 and remove the temporary Renovate ignore for it.

Stop prebundling tinyglobby and load it with await import('tinyglobby') when resolving glob entries.

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings March 18, 2026 09:39
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Upgrades tinyglobby to v0.2.15, removes the temporary Renovate ignore, and adjusts how tinyglobby is consumed/prebundled across packages to avoid the previous prebundle/alias approach in @rslib/core.

Changes:

  • Bump tinyglobby dependency to ^0.2.15 in packages/core and packages/plugin-dts.
  • In @rslib/core, stop prebundling/aliasing tinyglobby and switch to lazy loading via await import('tinyglobby').
  • In rsbuild-plugin-dts, keep prebundling tinyglobby but skip generating its DTS via ignoreDts.

Reviewed changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
packages/plugin-dts/tsconfig.json Removes the tinyglobby path alias to stop pointing TS types at the compiled bundle.
packages/plugin-dts/prebundle.config.mjs Switches tinyglobby prebundle entry to an object with ignoreDts: true.
packages/plugin-dts/package.json Updates tinyglobby version to ^0.2.15.
packages/core/tsconfig.json Removes the tinyglobby path alias now that it’s no longer prebundled.
packages/core/src/config.ts Replaces static glob import with dynamic import at point-of-use.
packages/core/rslib.config.ts Removes externals mapping for the previously prebundled tinyglobby.
packages/core/prebundle.config.mjs Removes tinyglobby from prebundled dependencies list.
packages/core/package.json Updates tinyglobby version to ^0.2.15.
.github/renovate.json5 Removes the temporary Renovate ignore for tinyglobby.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

@Timeless0911 Timeless0911 changed the title chore(deps): upgrade tinyglobby to v0.2.15 perf(deps): upgrade tinyglobby and use dynamic import Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants