Skip to content

feat(rsc): add ModuleInfo.meta to client references#787

Draft
hi-ogawa wants to merge 5 commits intomainfrom
08-27-feat_rsc_add_meta_module_option_for_client_references
Draft

feat(rsc): add ModuleInfo.meta to client references#787
hi-ogawa wants to merge 5 commits intomainfrom
08-27-feat_rsc_add_meta_module_option_for_client_references

Conversation

@hi-ogawa
Copy link
Contributor

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

Description

Porting https://github.com/hi-ogawa/vite-plugins/blob/34b82d6e809dee653f6572778fed0c987d8aad67/packages/react-server/src/features/client-component/plugin.ts#L170-L174. This potentially helps utilizing client reference usage for framework's build pipeline.

Well, we need to expose clientReferenceDeps to actually get to the asset url though.

@hi-ogawa hi-ogawa changed the title feat(rsc): add meta module option for client references feat(rsc): add getModuleInfo meta to client references Aug 27, 2025
@hi-ogawa hi-ogawa changed the title feat(rsc): add getModuleInfo meta to client references feat(rsc): add ModuleInfo.meta to client references Aug 27, 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.

1 participant