Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webpack isServer:true #38

Open
sibelius opened this issue Dec 28, 2020 · 1 comment
Open

Webpack isServer:true #38

sibelius opened this issue Dec 28, 2020 · 1 comment

Comments

@sibelius
Copy link

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?

@sibelius
Copy link
Author

sibelius commented Jan 5, 2021

I've made a simple implementation of a Loader o solve this

sibelius/react-server-components-playground#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

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

No branches or pull requests

1 participant