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

feat: migrate analyze function to react-server-action #784

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: use or
  • Loading branch information
himself65 committed Jul 9, 2024
commit 4ad252c8600a049f4e9c6c8064d418f4a2b5fce5
2 changes: 1 addition & 1 deletion packages/waku/src/lib/plugins/vite-plugin-rsc-analyze.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function rscAnalyzePlugin(
if (!opts.isClient && isClientEntry) {
opts.clientFileSet.add(id);
opts.fileHashMap.set(id, await hash(code));
} else if (!isClientEntry && isServerAction) {
} else if (!isClientEntry || isServerAction) {
opts.serverFileSet.add(id);
}
}
Expand Down
Loading