UNPKG

@hv/celestial

Version:

A styleguide for documenting your Astro-components

10 lines 544 B
import path from "node:path"; import { getConfig } from "./config.js"; import { WORKSPACE_ROOT } from "./constants.js"; const config = await getConfig(); export const ORIG_DIR = path.join(WORKSPACE_ROOT, config.srcDir || ''); export const ORIG_SRC_DIR = path.join(ORIG_DIR, 'src'); export const ORIG_COMPONENTS_DIR = path.join(ORIG_SRC_DIR, 'components'); export const ORIG_GLOB = `${ORIG_SRC_DIR}/**/*Docs.astro`; export const ORIG_COMPONENT_GLOB = `${ORIG_SRC_DIR}/**/*.{astro,vue,svelte,jsx}`; //# sourceMappingURL=constantsWithConfig.js.map