vike
Version:
The Framework *You* Control - Next.js & Nuxt alternative for unprecedented flexibility and dependability.
9 lines (8 loc) • 521 B
JavaScript
export { preparePageContextForPublicUsageServer };
import { assertPropertyGetters, preparePageContextForPublicUsage, } from '../../../shared/preparePageContextForPublicUsage.js';
function preparePageContextForPublicUsageServer(pageContext) {
// TODO/next-major-release: after we remove supportVueReactiviy() we can call this later inside the agnostic preparePageContextForPublicUsage()
assertPropertyGetters(pageContext);
pageContext = preparePageContextForPublicUsage(pageContext);
return pageContext;
}