UNPKG

sanity

Version:

Sanity is a real-time content infrastructure with a scalable, hosted backend featuring a Graph Oriented Query Language (GROQ), asset pipelines and fast edge caches

18 lines (17 loc) 490 B
import { version } from "./package.js"; let buildVersion; try { buildVersion = process.env.PKG_BUILD_VERSION; } catch { } try { buildVersion = buildVersion || // This is replaced by `@sanity/pkg-utils` at build time // and must always be references by its full static name, e.g. no optional chaining, no `if (process && process.env)` etc. "5.1.0"; } catch { } const SANITY_VERSION = buildVersion || `${version}-dev`; export { SANITY_VERSION }; //# sourceMappingURL=version.js.map