import e from"node:process";import{d as o}from"../../../_virtual/index6.mjs";import t from"./utils/FileCache.mjs";import{augmentConfigExtended as c}from"./augmentConfig.mjs";const r="test"===e.env.NODE_ENV?e.cwd():void 0;function s(s={}){const i=s.cwd||e.cwd();return{_options:{...s,cwd:i},_extendExplorer:o.cosmiconfig("",{transform:c(i),stopDir:r,searchStrategy:"global"}),_specifiedConfigCache:new Map,_postcssResultCache:new Map,_fileCache:new t(s.cacheLocation,s.cacheStrategy,i)}}export{s as default};