import{loadConfig as e}from"@redocly/openapi-core";import i from"path";import{CONFIG_FILE_NAME as n}from"../../../../constants/index.js";import{getPortalConfigStats as s}from"../../../telemetry/get-portal-config-stats.js";const c=async({context:t})=>{const a=i.join(t.fs.cwd,n);let o={};return await e({configPath:a,processRawConfig:r=>{o=r.parsed}}),{version:"2",name:"buildContext",value:s(o)}};export{c as getConfigStatsUsage};
