chore: update prebundle to v1.5.0 and migrate config to TS#6459
Merged
chenjiahan merged 1 commit intomainfrom Oct 29, 2025
Merged
chore: update prebundle to v1.5.0 and migrate config to TS#6459chenjiahan merged 1 commit intomainfrom
chenjiahan merged 1 commit intomainfrom
Conversation
✅ Deploy Preview for rsbuild ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR upgrades the prebundle dependency from version 1.4.2 to 1.5.0 and migrates all prebundle configuration files from JavaScript (.mjs) to TypeScript (.ts) format. The migration replaces JSDoc type annotations with native TypeScript type imports and uses the satisfies operator for type checking.
Key Changes:
- Upgraded prebundle dependency from 1.4.2 to 1.5.0 across all affected packages
- Converted prebundle config files from
.mjsto.tswith proper TypeScript typing - Updated build configuration and nx.json to reference the new
.tsconfig files
Reviewed Changes
Copilot reviewed 12 out of 13 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| packages/plugin-svgr/prebundle.config.ts | Converted to TypeScript with type imports and satisfies operator |
| packages/plugin-svgr/package.json | Updated prebundle dependency to 1.5.0 |
| packages/plugin-sass/prebundle.config.ts | Converted to TypeScript with explicit function type annotations |
| packages/plugin-sass/package.json | Updated prebundle dependency to 1.5.0 |
| packages/plugin-less/prebundle.config.ts | Converted to TypeScript with explicit function type annotations |
| packages/plugin-less/package.json | Updated prebundle dependency to 1.5.0 |
| packages/plugin-babel/prebundle.config.ts | Converted to TypeScript with type imports and satisfies operator |
| packages/plugin-babel/package.json | Updated prebundle dependency to 1.5.0 |
| packages/core/rslib.config.ts | Updated import to reference new .ts config file |
| packages/core/prebundle.config.ts | Converted to TypeScript with explicit function type annotations |
| packages/core/package.json | Updated prebundle dependency to 1.5.0 |
| nx.json | Updated prebundle target to reference .ts config files |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Summary
.mjsto.tsformatRelated Links
https://github.com/rspack-contrib/prebundle/releases/tag/v1.5.0
Checklist