Skip to content

Remix / server: RemixCatalogAssetConfig

Functions, types, and exports for Remix / server: RemixCatalogAssetConfig.

Page outline

Catalog configuration for catalogAssets.config: the resolved shape of a Palamedes config that the adapter compiles browser catalog assets from. Paths resolve from rootDir; format defaults to "po".

import type { RemixCatalogAssetConfig } from "@palamedes/remix/server"

type RemixCatalogAssetConfig = {
    rootDir: string;
    locales: string[];
    sourceLocale: string;
    fallbackLocales?: string[] | Record<string, string[]>;
    pseudoLocale?: string;
    /** Catalog `include`/`exclude` select source files for extraction; asset compilation ignores them. */
    catalogs: Array<{
        path: string;
        format?: "po" | "fcl";
        include?: string[];
        exclude?: string[];
    }>;
};

Properties

NameTypeRequiredDescription
rootDirstringYes
localesstring[]Yes
sourceLocalestringYes
fallbackLocalesstring[] | Record<string, string[]>No
pseudoLocalestringNo
catalogsArray<{ path: string; format?: "po" | "fcl"; include?: string[]; exclude?: string[] }>YesCatalog include/exclude select source files for extraction; asset compilation ignores them.

Source entry on GitHub

Last updated: November 1, 2026