Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 12, 2025

Description

Addresses #976 (comment)

PR #976 fixed the deprecation warning in plugin-react but the same issue exists in plugin-react-swc and plugin-react-oxc. When rolldown-vite is detected, these plugins were still using the deprecated optimizeDeps.rollupOptions instead of optimizeDeps.rolldownOptions, causing warnings in stderr.

Changes:

  • packages/plugin-react-swc/src/index.ts: Use rolldownOptions when rolldownVersion is detected
  • packages/plugin-react-oxc/src/index.ts: Use rolldownOptions (this plugin always requires rolldown-vite)
Original prompt

address #976 (comment)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

…ollupOptions in optimizeDeps

Co-authored-by: hi-ogawa <4232207+hi-ogawa@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix issue addressed in comment 3520048313 fix(react-swc,react-oxc): use rolldownOptions instead of deprecated rollupOptions Nov 12, 2025
Copilot AI requested a review from hi-ogawa November 12, 2025 06:37
Copilot finished work on behalf of hi-ogawa November 12, 2025 06:37
@hi-ogawa hi-ogawa marked this pull request as ready for review November 12, 2025 06:50
@hi-ogawa hi-ogawa merged commit 17fdcc8 into main Nov 12, 2025
16 of 22 checks passed
@hi-ogawa hi-ogawa deleted the copilot/fix-issue-3520048313 branch November 12, 2025 07:07
sapphi-red added a commit that referenced this pull request Nov 12, 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.

2 participants