i18next-hmr
Advanced tools
Comparing version 1.11.1 to 1.11.2
@@ -7,4 +7,12 @@ ### Changelog | ||
#### [v1.11.2](https://github.com/felixmosh/i18next-hmr/compare/v1.11.1...v1.11.2) | ||
- fix: add defaultNS as an optional ns value [`3a20106`](https://github.com/felixmosh/i18next-hmr/commit/3a2010607a54b2a0bd888a1d52a95101078b1fbc) | ||
- Bump webpack from 5.73.0 to 5.76.1 in /examples/react-i18next [`290d870`](https://github.com/felixmosh/i18next-hmr/commit/290d870a52d31a59b34aeae4bb6901ecf649b271) | ||
- Bump json5 from 1.0.1 to 1.0.2 in /examples/vue-i18next [`e3b4d67`](https://github.com/felixmosh/i18next-hmr/commit/e3b4d674aee778ea4e8d083eaeb2fc46d6643461) | ||
#### [v1.11.1](https://github.com/felixmosh/i18next-hmr/compare/v1.11.0...v1.11.1) | ||
> 9 December 2022 | ||
- Bump express from 4.17.1 to 4.18.2 in /examples/vue-i18next [`f571dc1`](https://github.com/felixmosh/i18next-hmr/commit/f571dc16dd076546a7e7895a6a0ca8f1d88555d8) | ||
@@ -11,0 +19,0 @@ - Bump loader-utils from 1.4.0 to 1.4.1 in /examples/vue-i18next [`4cf7127`](https://github.com/felixmosh/i18next-hmr/commit/4cf7127d35123347ced7e650d4b09ec1bbea2374) |
@@ -34,3 +34,9 @@ function extractLangAndNS(changedFile, currentConfig) { | ||
const namespaces = uniqueList( | ||
[].concat(i18nInstance.options.ns, i18nInstance.options.fallbackNS || []).filter(Boolean) | ||
[] | ||
.concat( | ||
i18nInstance.options.ns, | ||
i18nInstance.options.fallbackNS, | ||
i18nInstance.options.defaultNS | ||
) | ||
.filter(Boolean) | ||
); | ||
@@ -37,0 +43,0 @@ const languages = uniqueList( |
{ | ||
"name": "i18next-hmr", | ||
"version": "1.11.1", | ||
"version": "1.11.2", | ||
"description": "I18Next HMR webpack plugin that allows reloading translation resources on the client & the server.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
35720
267
5772