Skip to content

fix(antdx): resolve Think component React #130 in production build#123

Merged
Col0ring merged 1 commit into
mainfrom
fix/antdx-think
May 18, 2026
Merged

fix(antdx): resolve Think component React #130 in production build#123
Col0ring merged 1 commit into
mainfrom
fix/antdx-think

Conversation

@Col0ring
Copy link
Copy Markdown
Collaborator

closes #121

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 18, 2026

🦋 Changeset detected

Latest commit: 111e871

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@modelscope-studio/frontend Patch
@modelscope-studio/antdx Patch
modelscope_studio Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request addresses a production build issue for the Think component by updating the Vite plugin to correctly handle default import mappings for namespace-style globals and ensuring that children are properly forwarded to the XThink component. The baseGlobals configuration in the plugin now distinguishes between namespace and value-style globals to ensure correct resolution during transformation. I have no feedback to provide.

@Col0ring Col0ring merged commit c36d784 into main May 18, 2026
2 checks passed
@Col0ring Col0ring deleted the fix/antdx-think branch May 18, 2026 09:35
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.

antdx.Think组件报错

1 participant