This update fully decouples plugins' functionality (like getting a users' locale or applying custom processors to keys) from the core library's code - now an import from root index file (import { createTranslator } from 'intl-schematic') has zero dependencies, even from the library's own modules, and comes at about 2.2kb non-minified.
Plugin documentation is in progress, but there are some JSDoc comments here and there that explain most stuff.
This update fully decouples plugins' functionality (like getting a users' locale or applying custom processors to keys) from the core library's code - now an import from root
index
file (import { createTranslator } from 'intl-schematic'
) has zero dependencies, even from the library's own modules, and comes at about 2.2kb non-minified.Plugin documentation is in progress, but there are some JSDoc comments here and there that explain most stuff.