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
| Name | Type | Required | Description |
|---|---|---|---|
rootDir | string | Yes | |
locales | string[] | Yes | |
sourceLocale | string | Yes | |
fallbackLocales | string[] | Record<string, string[]> | No | |
pseudoLocale | string | No | |
catalogs | Array<{ path: string; format?: "po" | "fcl"; include?: string[]; exclude?: string[] }> | Yes | Catalog include/exclude select source files for extraction; asset compilation ignores them. |
Last updated: November 1, 2026