{"version":3,"file":"existsAsync.js","names":[],"sources":["esm/utils/existsAsync.js"],"sourcesContent":["import { exists } from \"node:fs\";\nconst existsAsync = (file) => {\n  return new Promise((res, rej) => {\n    try {\n      exists(file, res);\n    } catch {\n      return false;\n    }\n  });\n};\nexport {\n  existsAsync\n};\n//# sourceMappingURL=existsAsync.js.map\n"],"mappings":";;;AACA,MAAM,eAAe,SAAS;CAC5B,OAAO,IAAI,SAAS,KAAK,QAAQ;EAC/B,IAAI;GACF,OAAO,MAAM,GAAG;EAClB,QAAQ;GACN,OAAO;EACT;CACF,CAAC;AACH"}