Skip to content

Conversation

hi-ogawa
Copy link
Contributor

@hi-ogawa hi-ogawa commented Sep 9, 2025

Description

This PR exposes src/transforms/index.ts utility as @vitejs/plugin-rsc/transforms. cc @jacob-ebey

$ node
Welcome to Node.js v22.18.0.
Type ".help" for more information.
> await import("@vitejs/plugin-rsc/transforms")
[Module: null prototype] {
  getExportNames: [Function: getExportNames],
  hasDirective: [Function: hasDirective],
  transformDirectiveProxyExport: [Function: transformDirectiveProxyExport],
  transformHoistInlineDirective: [Function: transformHoistInlineDirective],
  transformProxyExport: [Function: transformProxyExport],
  transformServerActionServer: [Function: transformServerActionServer],
  transformWrapExport: [Function: transformWrapExport]
}

Copy link

pkg-pr-new bot commented Sep 9, 2025

Open in StackBlitz

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

commit: 6016bae

@hi-ogawa hi-ogawa marked this pull request as ready for review September 9, 2025 01:02
@hi-ogawa hi-ogawa merged commit 0a8e4dc into main Sep 9, 2025
24 of 25 checks passed
@hi-ogawa hi-ogawa deleted the 09-09-feat_rsc_expose_transforms_utils branch September 9, 2025 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant