UNPKG

astro-loader-i18n

Version:

An Astro content loader for i18n files and folder structures.

13 lines (12 loc) 456 B
import { glob, Loader } from 'astro/loaders'; type GlobOptions = Parameters<typeof glob>[0]; /** * Creates a custom i18n loader for Astro projects. * * @param options - Configuration options for the glob loader. * @returns A loader that integrates i18n functionality into the Astro build process. * * @throws If the `i18n` configuration is missing in the Astro config. */ export declare function i18nLoader(options: GlobOptions): Loader; export {};