Interface: HMROptions
Defined in: projects/plugins/packages/i18next/src/lib/types.ts:35
Configure whether to use Hot-Module-Replacement (HMR) for your i18next resources using these options. The minimum config to enable HMR is to set enabled
to true. Any other properties are optional.
Since
2.2.0
Properties
enabled
enabled:
boolean
Defined in: projects/plugins/packages/i18next/src/lib/types.ts:40
HMR status for the i18next plugin.
Default
false
languages?
optional
languages:string
|string
[]
Defined in: projects/plugins/packages/i18next/src/lib/types.ts:46
Languages that will be reloaded when updating the languages directory.
Default
All languages that are automatically resolved from your folder setup
namespaces?
optional
namespaces:string
|string
[]
Defined in: projects/plugins/packages/i18next/src/lib/types.ts:52
Namespaces that will be reloaded when updating the languages directory.
Default
All namespaces that are automatically resolved from your languages folder setup
options?
optional
options:Partial
<BasicOpts
&object
>
Defined in: projects/plugins/packages/i18next/src/lib/types.ts:57
HMR options