Skip to content

Conversation

@chenjiahan
Copy link
Member

Summary

  • Upgrade prebundle dependency from 1.4.2 to 1.5.0
  • Convert prebundle config files from .mjs to .ts format

Related Links

https://github.com/rspack-contrib/prebundle/releases/tag/v1.5.0

Checklist

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

Copilot AI review requested due to automatic review settings October 28, 2025 15:04
@netlify
Copy link

netlify bot commented Oct 28, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit c4cc222
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/6900db8ee848ce000839d04f
😎 Deploy Preview https://deploy-preview-6459--rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 59 (🔴 down 3 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

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

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

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 .mjs to .ts with proper TypeScript typing
  • Updated build configuration and nx.json to reference the new .ts config 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.

@chenjiahan chenjiahan merged commit 9ca1db5 into main Oct 29, 2025
12 checks passed
@chenjiahan chenjiahan deleted the prebundle_ts_config_1028 branch October 29, 2025 02:20
@chenjiahan chenjiahan mentioned this pull request Oct 30, 2025
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