Skip to content

test: prevent asset emission on type errors - #105

Merged
chenjiahan merged 3 commits into
mainfrom
chenjiahan/fix-no-emit-on-type-error
Aug 28, 2026
Merged

test: prevent asset emission on type errors#105
chenjiahan merged 3 commits into
mainfrom
chenjiahan/fix-no-emit-on-type-error

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

Summary

Type errors currently fail production builds after assets have already been emitted. This upgrades Rsbuild to 2.2.0 and pins Rspack 2.2.1, which restores the expected compiler hook ordering so failed type checks block asset emission, and adds regression coverage for HTML and JavaScript outputs.

Related Links

@chenjiahan chenjiahan changed the title fix: prevent asset emission on type errors test: prevent asset emission on type errors Aug 28, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 572f353aff

ℹ️ 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".

Comment thread package.json Outdated
@chenjiahan
chenjiahan merged commit 71cd681 into main Aug 28, 2026
6 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/fix-no-emit-on-type-error branch August 28, 2026 05:58
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