Alpha
The Lingo.dev Compiler is in alpha. It is unstable, not recommended for production use, and APIs may change between releases.
Advanced compiler optimization techniques.
Tree Shaking#
The compiler analyzes usage to remove unused translations:
typescript
// Only bundle what you actually use
import { t } from "./i18n";
t("welcome.title"); // ✅ Included
// 'auth.login' never used → ❌ Not included in bundleBundle Size Savings
Typical projects see 40-60% reduction in translation bundle size.
