Customization
The build needs no configuration: the entry is src/index.tsx (or .ts/.jsx/.js), the output is dist/app.js. This page covers overriding the build; for the CLI’s runtime knobs see environment variables.
Custom Vite configuration
Section titled “Custom Vite configuration”To customize the build, add a regular vite.config.ts to the app - the CLI picks it up.
The platform-required settings are still enforced on top and always win: the output stays a single dist/app.js (an IIFE bundle with CSS injected by JS), because <bundle-url>/app.js is the contract the Crowdin host loads.
Custom Lingui configuration
Section titled “Custom Lingui configuration”Advanced i18n setups can add their own lingui.config.ts, which replaces the zero-config defaults. Keep the PO format and the locales/{locale} catalog layout so the CLI can compile the catalogs - see translations.