@generaltranslation/compiler
v1.1.17
Published
Universal plugin for compile-time optimization of GT translation components
Readme
@generaltranslation/compiler
Build plugin for compile-time optimization of GT translation components. Works with webpack, Vite, Rollup, and esbuild.
Installation
npm install @generaltranslation/compilerUsage
If you're using gt-next, the plugin is configured automatically. For manual setup:
// vite.config.js
import { vite as gtCompiler } from '@generaltranslation/compiler';
export default {
plugins: [gtCompiler()],
};See the full documentation for guides and API reference.
