UNPKG

@lucidcms/core

Version:

The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.

2 lines 344 B
import e from"../../constants/constants.mjs";import{mkdir as t}from"node:fs/promises";import{join as n}from"node:path";import{existsSync as r}from"node:fs";const i=async()=>{let i=n(process.cwd(),e.directories.lucid);return r(i)||await t(i,{recursive:!0}),i};export{i as ensureLucidDirectoryExists}; //# sourceMappingURL=lucid-directory.mjs.map