0.1.12 • Published 2 years ago

vite-plugin-i18n-check-keys v0.1.12

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

vite-plugin-i18n-check-keys

English | 简体中文

npm npm build status

Vite plugin for internationalization key checking

npm.io

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

0.1.12

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago