Creation:2026-01-21Last update:2026-01-21
Reference this doc to your favorite AI assistantChatGPTClaudeDeepSeekGoogle AI modeGeminiPerplexityMistralGrok
Ask your question and get a summary of the document by referencing this page and the AI provider of your choice
Version History
- "Init doc"v8.0.01/21/2026
Edit this doc
If you have an idea for improving this documentation, please feel free to contribute by submitting a pull request on GitHub.
GitHub link to the documentationCopy
Copy doc Markdown to clipboard
intlayer Vite Plugin Documentation
The intlayer Vite plugin integrates Intlayer configuration into the build process. It handles dictionary aliases, starts the dictionary watcher in development mode, and prepares dictionaries for the build.
Usage
Description
The plugin performs the following tasks:
- Prepare Dictionaries: It compiles the dictionaries into optimized files at the start of the build or dev process.
- Watch Mode: In development mode, it watches for changes in dictionary files and recompiles them automatically.
- Aliases: it provides aliases for accessing the dictionaries in your application.
- Tree-shaking: it supports tree-shaking unused translations through the
intlayerPruneplugin.