GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||
GeezerVison is showing github.com — feat(plugin-rsc): expose Node.js stream APIs by switz · Pull Request #1276 · vitejs/vite-plugin-react Conversation
|
|
Rebased the branch and updated everything based on your feedback. Node stream apis are now aligned with the sub-path pattern. Also added an e2e test. Thanks |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Co-authored-by: OpenCode <[email protected]>
Co-authored-by: OpenCode <[email protected]>
Co-authored-by: OpenCode <[email protected]>
Co-authored-by: OpenCode <[email protected]>
Co-authored-by: OpenCode <[email protected]>
Co-authored-by: OpenCode <[email protected]>
Co-authored-by: OpenCode <[email protected]>
Co-authored-by: OpenCode <[email protected]>
Co-authored-by: OpenCode <[email protected]>
There was an error while loading. Please reload this page.
Co-authored-by: OpenCode <[email protected]>
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Co-authored-by: OpenCode <[email protected]>
Co-authored-by: OpenCode <[email protected]>
Co-authored-by: OpenCode <[email protected]>
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I have extended node stream entries to @vitejs/plugin-rsc/ssr.node too. examples/node-stream is also extended to exercise node stream workflow end to end accordingly.
The re-exports from edge to node is eliminated by copying own wrapper code on node variant entries.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Co-authored-by: OpenCode <[email protected]>
| rsc: { | ||
| optimizeDeps: { | ||
| include: [ | ||
| '@vitejs/plugin-rsc/vendor/react-server-dom/server.node', | ||
| '@vitejs/plugin-rsc/vendor/react-server-dom/static.node', | ||
| '@vitejs/plugin-rsc/vendor/react-server-dom/client.node', |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Moved the node vendor optimizeDeps.include to example level configuration since always adding optimized node import from plugin can cause issues on non-node environment.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
@vitejs/plugin-rsc — expose Node.js stream APIs (renderToPipeableStream, createFromNodeStream)
There was an error while loading. Please reload this page.