UNPKG

i18next-hmr

Version:

I18Next HMR🔥 webpack / vite plugin that allows reload translation resources instantly on the client & the server.

8 lines (5 loc) • 233 B
export declare class I18NextHMRPlugin { static addListener(cb: (data: { lang: string; ns: string }) => void): void; constructor(options: { localesDir: string; } | { localesDirs: string[] }); apply: (compiler: any) => void; }