terra-i18n-plugin

v2.2.0
The terra-i18n-plugin component is a webpack config plugin that examines all dependencies for translation files and then aggregates all translations for a single language into one file. Each language file is placed into an aggregated-translations director
Cerner Terra terra-i18n-plugin I18n-plugin UI

compile

npm run compile:clean && npm run compile:build

compile:clean

rimraf lib

compile:build

babel src --out-dir lib --copy-files

lint

npm run lint:js

lint:js

eslint --ext .js,.jsx . --ignore-path ../../.eslintignore

test

npm run test:jest

test:jest

cd ../../ && npm run jest -t i18n-plugin-spec && cd packages/terra-i18n-plugin
npm i terra-i18n-plugin

Metadata

Downloads