@linguijs/vite-plugin
v0.1.1
Published
Vite plugin for [Lingui Laravel](https://github.com/linguijs/lingui-laravel).
Readme
Lingui Vite Plugin
Vite plugin for Lingui Laravel.
import { lingui } from '@linguijs/vite-plugin-lingui';
export default defineConfig({
plugins: [
lingui(),
// ...
],
});All options have sensible defaults, but should you need to customize anything:
import { lingui } from '@linguijs/vite-plugin-lingui';
export default defineConfig({
plugins: [
lingui({
locales: ['en', 'pt'],
langPath: 'lang',
outPath: 'my/custom/path/to/output/lang/files',
command: 'herd php artisan lingui:make-json',
}),
// ...
],
});License
The Lingui Vite Plugin is open-sourced software licensed under the MIT license.
