UNPKG

vite-plugin-react-server

Version:
7 lines 343 B
export function createBuildLoader() { // In client-static, the RSC worker handles all module loading // The main thread doesn't need to load modules directly return async function buildLoader(_id: string) { throw new Error("createBuildLoader is called from the client, but it is only available on the server."); }; }