Server-only function called from Telefunc gives warning about client-side import #1768
Answered
by
brillout
bravius
asked this question in
Help & Questions
-
When calling a function defined in a server-only module from a Telefunc function (using the .server/.shared/.client file environment scheme) I get the following warning:
Technically it's correct that the function is imported on the client-side, but Telefunc transforms it to execute on the server-side. Considering this Vike + Telefunc case, should it actually be throwing this warning and preventing build? |
Beta Was this translation helpful? Give feedback.
Answered by
brillout
Jul 26, 2024
Replies: 1 comment 2 replies
-
That's a bug, can you publish a reproduction? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fix pre-released as
0.4.181-commit-2f53249
.