Chrome intl Code Gen
It provide a webpack plugin for watching chrome extesion's _locales
directory, if locale file changed, A typescript file which contains a type-safe version of chrome.i18n.getMessage
will be generated at the output path. the file contents includes a default export and multiple exports like this. Also you can customize your own generated content with the template
option.
/* eslint-disable */// This file is generated by chrome-i18n-code-gen, do not edit it /*** extension name*/ /*** extension description*/
Usage
;
Options