UNPKG

@lucidcms/core

Version:

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

2 lines 244 B
import e from"../logger.mjs";const t=async t=>{let{envSchema:n,env:r}=t;if(!n||!r)return!0;try{return n.parse(r),!0}catch(t){return t instanceof Error&&e.errorInstance(t),!1}};export{t as default}; //# sourceMappingURL=validate-env-vars.mjs.map