-
-
Notifications
You must be signed in to change notification settings - Fork 125
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
server components (even dynamic) runs on build unexpectedly (through unstable_collectClientModules
)
#543
Comments
Thanks for opening up an issue. |
Working on this |
Working on this |
From what I understand #536 (comment), |
inside |
From #573, what I'd say is it's not SSR (html generation) and it's a false positive (not leaking). So, I don't consider it's a bug per se. |
btw, do you have a real issue with the current non-ideal behavior? |
Yeah, I will use |
I see. It's unfortunate, but the current workaround would be add a check if such an env var is available or not (and do some fallback that would never be required in the runtime.) |
unstable_collectClientModules
)
Current status: #573 (comment) |
I was just thinking about it. Analyzing statically is not possible with current architecture. defineRouter & createPages are designed to isolated from filesystem. |
I hope there's a enviroment like |
Try waku/packages/waku/src/server.ts Lines 38 to 43 in 82dea92
We might be missing something for |
See: himself65@5e8218f
Also exit code shouldn't be
0
The text was updated successfully, but these errors were encountered: