UNPKG

astro

Version:

Astro is a modern site builder with web best practices, performance, and DX front-of-mind.

15 lines (14 loc) 791 B
import type { AstroSettings } from '../types/astro.js'; /** * Get the path to the data store file. * During development, this is in the `.astro` directory so that the Vite watcher can see it. * In production, it's in the cache directory so that it's preserved between builds. */ export declare function getDataStoreFile(settings: AstroSettings, isDev: boolean): URL; /** * Get the path to the data store directory, used when the store is split across * multiple files (experimental `collectionStorage: 'chunked'`). * During development, this is in the `.astro` directory so that the Vite watcher can see it. * In production, it's in the cache directory so that it's preserved between builds. */ export declare function getDataStoreDir(settings: AstroSettings, isDev: boolean): URL;