@sphinxjs/compiler
v0.0.1
Published
Compile PO translation files into a static `DomainTranslations` map for use with `initSphinx`.
Readme
@sphinxjs/compiler
Compile PO translation files into a static DomainTranslations map for use with initSphinx.
Usage
import { compile } from "@sphinxjs/compiler";
const { translations } = compile({ poDir: "po" });Prefer using the CLI command sphinx compile instead of calling this programmatically.
