0.1.15 • Published 6 months ago

i18n-check-keys-webpack-plugin v0.1.15

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

i18n-check-keys-webpack-plugin

Webpack plugin for internationalization key checking

English | 简体中文

npm npm build status

npm.io

Install

npm i i18n-check-keys-webpack-plugin -D
# or
yarn add i18n-check-keys-webpack-plugin -D
# or
pnpm add i18n-check-keys-webpack-plugin -D

Usage

const I18nCheckKeysWebpackPlugin = require('i18n-check-keys-webpack-plugin')

// webpack config
module.exports = {
  plugins: [
    new I18nCheckKeysWebpackPlugin({
      localePath: /locale/,
      benchmarkLang: 'zh_CN',
      needStopRun: process.env.NODE_ENV === 'production', // Stop the process if something is missing during packaging
    }),
  ],
}

Options

This plugin is a package of i18n-check-keys, please refer to the original document for specific configuration Document

0.1.13

6 months ago

0.1.14

6 months ago

0.1.15

6 months ago

0.1.12

8 months ago

0.1.8

9 months ago

0.1.7

11 months ago

0.1.6

11 months ago

0.1.5

11 months ago

0.1.4

11 months ago

0.1.4-alpha.1

11 months ago

0.1.3

11 months ago

0.1.3-alpha.2

11 months ago

0.1.3-alpha.1

11 months ago

0.1.2

11 months ago

0.1.1

11 months ago

0.1.0

11 months ago