UNPKG

vike

Version:

The Framework *You* Control - Next.js & Nuxt alternative for unprecedented flexibility and dependability.

11 lines (10 loc) 464 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getConfigValueRuntime = getConfigValueRuntime; const getConfigValueTyped_js_1 = require("./getConfigValueTyped.js"); function getConfigValueRuntime(pageConfig, configName, type) { const configValue = pageConfig.configValues[configName]; if (!configValue) return null; return (0, getConfigValueTyped_js_1.getConfigValueTyped)(configValue, configName, type); }