Skip to content

feat: enable lazyCompilation.imports by default #5582

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chenjiahan
Copy link
Member

Summary

WIP

Checklist

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

@Copilot Copilot AI review requested due to automatic review settings July 11, 2025 08:43
Copy link

netlify bot commented Jul 11, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit f735eb5
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/6870ceb587c30f000895f88d
😎 Deploy Preview https://deploy-preview-5582--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: 76 (🟢 up 4 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.

@chenjiahan chenjiahan marked this pull request as draft July 11, 2025 08:43
Copy link
Contributor

@Copilot 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

Enables the new lazyCompilation.imports flag by default in the development configuration.

  • Adds lazyCompilation: { imports: true } to the default dev config.
  • (WIP) Tests and documentation updates still pending.
Comments suppressed due to low confidence (2)

packages/core/src/defaultConfig.ts:51

  • Consider adding a brief inline comment or updating the central configuration docs to explain what lazyCompilation.imports controls for future maintainers.
  lazyCompilation: {

packages/core/src/defaultConfig.ts:53

  • No tests appear to verify the default value of lazyCompilation.imports. Please add or update unit tests to assert this default behavior.
  },

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.

1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy