Build systems

Build systems

intl-ai runs at build time via @intl-ai/unplugin, a thin shim that spawns the intl-ai binary (installed automatically as a dependency; see Getting started for other install channels and intl-ai.toml setup). It supports every major bundler through unjs/unplugin. Choose your bundler below.

Plugin options mirror the CLI’s quality controls: validate (fill-time gate), judgeThreshold, failOn (check --fail-on severities), dev, and strict. See the package README for the full table.

  • Vite - Modern, fast build tool
  • Webpack - Industry standard bundler
  • Rollup - Flexible module bundler
  • esbuild - Extremely fast JavaScript bundler
  • Rspack - Rust-based, webpack-compatible bundler
  • Rolldown - Rust-powered Rollup-compatible bundler
  • Farm - Rust-based web build tool
  • Next.js - React framework with Turbopack bridge

If you use a framework, wire up the bundler here and pair it with an i18n library from i18n libraries.