next.js
fc8bcc2b - feat(node-streams): add node stream primitives, build infra, and config flag

Commit
75 days ago
feat(node-streams): add node stream primitives, build infra, and config flag Add the building blocks for native Node.js stream rendering: - Config flag: experimental.useNodeStreams with __NEXT_USE_NODE_STREAMS env var - Node stream primitives: node-stream-helpers, pipeable-stream-wrappers, node-stream-tee, pipe-readable, chain-node-streams - Stream ops: stream-ops.node.ts with compile-time switcher in stream-ops.ts - Debug channel: debug-channel-server.node.ts with 3-way conditional switcher - Build: taskfile.js bundle tasks, webpack config routing, module.compiled.js - Flight response: createInlinedDataNodeStream for Node Transform encoding - Entry base: conditional exports for renderToPipeableStream/prerenderToNodeStream - Tests: pipe-readable, flight response node stream, env precedence e2e
Author
Committer
Parents
Loading