vite-plugin-i18n-check-keys
v0.1.12
Published
vite-plugin for i18n-check-keys
Downloads
7
Maintainers
Readme
vite-plugin-i18n-check-keys
English | 简体中文
Vite plugin for internationalization key checking
Install
npm i vite-plugin-i18n-check-keys -D
# or
yarn add vite-plugin-i18n-check-keys -D
# or
pnpm add vite-plugin-i18n-check-keys -D
Usage
import { defineConfig } from 'vite'
import checkI18nKeys from 'vite-plugin-i18n-check-keys'
export default defineConfig({
plugins: [
checkI18nKeys({
fileType: 'ts',
needStopRun: process.env.NODE_ENV === 'production',
}),
],
})
Options
This plugin is a package of i18n-check-keys
, please refer to the original document for specific configuration
Document