server-components-demo
server-components-demo copied to clipboard
Webpack isServer:true
What do you think it is a good implementation for the webpack plugin for the server?
It should be similar to react server dom webpack node custom register?
Should we replace .client code with only their reference?
I've made a simple implementation of a Loader o solve this
https://github.com/sibelius/react-server-components-boilerplate/pull/3
let me know how I can contribute this to React codebase
it is missing extract all exports using acorn to match node register approach