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

RSC: Split transform plugin into client and server #10215

Merged
merged 4 commits into from
Mar 13, 2024

Conversation

Tobbe
Copy link
Member

@Tobbe Tobbe commented Mar 12, 2024

We have a theory we want to try out that requires us to only transform "use client" files OR "use server" files, not both. To do that we decided to split our transform plugin into two parts, one for "use client" and another for "use server".

This PR does the splitting, but tries to keep the functionality the same as it was. To make sure splitting doesn't break anything that used to be working. Then we can experiment with the two separate plugins later.

@Tobbe Tobbe added release:chore This PR is a chore (means nothing for users) changesets-ok Override the changesets check labels Mar 12, 2024
@Tobbe Tobbe added this to the RSC milestone Mar 12, 2024
@Tobbe Tobbe merged commit 81d19cd into redwoodjs:main Mar 13, 2024
44 checks passed
@Tobbe Tobbe deleted the tobbe-rsc-split-transform-plugin branch March 13, 2024 10:29
@Josh-Walker-GM Josh-Walker-GM modified the milestones: RSC, v8.0.0 Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changesets-ok Override the changesets check release:chore This PR is a chore (means nothing for users)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants