Releases: Chacka-Lab/vite-plugin-boundary
Releases · Chacka-Lab/vite-plugin-boundary
Release list
v0.1.0
Immutable
release. Only release title and notes can be modified.
v0.1.0
The test was fine. I think there shouldn't be any errors.
SolidStart
There's a known limitation: when a client component imports a file that uses server-only, even if all functions in that file are marked with "use server", the build will incorrectly treat this as the client component directly calling server-only functions and throw an error. The only workaround is to apply "use server" at the file level.
However, "use server" already guarantees that the functions execute on the server — in that case, server-only is redundant. server-only is primarily meant to protect functions that must run on the server and cannot be called directly from outside (i.e., not exposed as RPC endpoints).