Skip to content

Conversation

hi-ogawa
Copy link
Contributor

@hi-ogawa hi-ogawa commented Aug 19, 2025

Description

TODO

  • test with @ai-sdk/rsc
10:46:10 AM [vite] (rsc) warning: client component dependency is inconsistently optimized. It's recommended to add the dependency to 'optimizeDeps.exclude'.
  Plugin: rsc:use-client
  File: /home/hiroshi/code/others/waku/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@ai-sdk/rsc/dist/rsc-shared.mjs?v=5d0e105d

@hi-ogawa hi-ogawa added the trigger: preview Trigger pkg.pr.new label Aug 20, 2025
Copy link

pkg-pr-new bot commented Aug 20, 2025

Open in StackBlitz

npm i https://pkg.pr.new/@vitejs/plugin-react@740
npm i https://pkg.pr.new/@vitejs/plugin-react-oxc@740
npm i https://pkg.pr.new/@vitejs/plugin-rsc@740
npm i https://pkg.pr.new/@vitejs/plugin-react-swc@740

commit: e741142

@hi-ogawa hi-ogawa marked this pull request as ready for review August 20, 2025 02:20
@hi-ogawa hi-ogawa changed the title fix(rsc): improve optimizeDeps.exclude suggestion fix(rsc): include non-entry optimized modules for optimizeDeps.exclude suggestion Aug 20, 2025
@hi-ogawa hi-ogawa merged commit 2640add into main Aug 20, 2025
21 checks passed
@hi-ogawa hi-ogawa deleted the 08-19-fix_rsc_improve_optimizedeps.exclude_suggestion branch August 20, 2025 02:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
trigger: preview Trigger pkg.pr.new
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve optimizeDeps.exclude suggestion warning
1 participant