Skip to content

Conversation

@chenjiahan
Copy link
Member

Summary

Rspack 1.4.0-beta.0 enables incremental by default and we can remove the incremental config from Rsbuild.

Related Links

Checklist

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

Copilot AI review requested due to automatic review settings June 13, 2025 09:00
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 removes the now-useless "incremental" configuration from tests and the basic plugin since Rspack 1.4.0-beta.0 enables it by default.

  • Removed "incremental": true from snapshot tests
  • Removed conditional configuration for Rspack in the basic plugin

Reviewed Changes

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

Show a summary per file
File Description
packages/core/tests/snapshots/environments.test.ts.snap Removed "incremental": true from experiments config
packages/core/tests/snapshots/default.test.ts.snap Updated snapshot by removing the "incremental": true entry
packages/core/tests/snapshots/builder.test.ts.snap Removed "incremental": true from the test snapshot
packages/core/tests/snapshots/basic.test.ts.snap Removed "incremental": true from both development and production snapshots
packages/core/src/plugins/basic.ts Removed the conditional logic adding "incremental": true

@netlify
Copy link

netlify bot commented Jun 13, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit ab42489
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/684be892eecd8e00087f6db6
😎 Deploy Preview https://deploy-preview-5409--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: 75 (no change 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 merged commit 49ea6d6 into main Jun 13, 2025
12 checks passed
@chenjiahan chenjiahan deleted the incremental_config_0613 branch June 13, 2025 09:09
@chenjiahan chenjiahan mentioned this pull request Jun 26, 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.

1 participant