Skip to content

Conversation

@chenjiahan
Copy link
Member

Summary

  • Optimizes module resolution performance by using explicit index.js file paths instead of directory paths in prebundle configurations.
  • Removes unused schema-utils prebundle config.

Checklist

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

Copilot AI review requested due to automatic review settings September 28, 2025 05:03
@netlify
Copy link

netlify bot commented Sep 28, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 34b3893
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/68d8c1b59eb09a00083e22f6
😎 Deploy Preview https://deploy-preview-6274--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: 74
Accessibility: 97
Best Practices: 100
SEO: 100
PWA: 60
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 optimizes module resolution performance for prebundled packages by using explicit index.js file paths instead of directory paths, and removes unused schema-utils configuration from the babel plugin.

  • Replaces directory-based module paths with explicit index.js file paths in prebundle configs
  • Removes unused schema-utils prebundle configuration and related code from plugin-babel
  • Updates external module references to use more specific file paths for better resolution performance

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
packages/plugin-babel/prebundle.config.mjs Removes unused schema-utils configuration and related helper functions
packages/core/prebundle.config.mjs Updates external module paths to use explicit index.js files for improved resolution

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@chenjiahan chenjiahan merged commit f58ab58 into main Sep 28, 2025
12 checks passed
@chenjiahan chenjiahan deleted the prebundle_resolve_0928 branch September 28, 2025 05:18
@chenjiahan chenjiahan mentioned this pull request Sep 29, 2025
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