chore: remove Rspack config schema env variable#6403
Conversation
✅ Deploy Preview for rsbuild ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull Request Overview
This PR removes the RSPACK_CONFIG_VALIDATE environment variable handling, which is no longer needed as of Rspack v1.6.0-beta.1. The change cleans up code and documentation that previously managed Rspack's config schema validation.
- Removed code that sets the environment variable to 'loose-silent' by default
- Removed documentation sections explaining the config validation behavior
- Removed explicit 'strict' validation enablement in e2e tests
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| packages/core/src/plugins/basic.ts | Removed code that set RSPACK_CONFIG_VALIDATE to 'loose-silent' |
| website/docs/zh/guide/migration/rsbuild-0-x.mdx | Removed Chinese documentation section about Rspack config validation |
| website/docs/en/guide/migration/rsbuild-0-x.mdx | Removed English documentation section about Rspack config validation |
| e2e/playwright.config.ts | Removed RSPACK_CONFIG_VALIDATE environment variable assignment |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Summary
Remove the
RSPACK_CONFIG_VALIDATEvariable, it is no longer used since Rspack v1.6.0-beta.1.Related Links
Checklist