i18next-hmr
Advanced tools
Comparing version 1.7.0 to 1.7.1
@@ -7,4 +7,11 @@ ### Changelog | ||
#### [v1.7.1](https://github.com/felixmosh/i18next-hmr/compare/v1.7.0...v1.7.1) | ||
- Move from circleCi to github actions [`0959cba`](https://github.com/felixmosh/i18next-hmr/commit/0959cba2b2d06d9372a3c853538a897b2f0ab2b4) | ||
- Update Readme [`bef118e`](https://github.com/felixmosh/i18next-hmr/commit/bef118e01b926b57f682502a735ad9c6833e9dd9) | ||
#### [v1.7.0](https://github.com/felixmosh/i18next-hmr/compare/v1.6.3...v1.7.0) | ||
> 15 January 2021 | ||
- Bump ini from 1.3.5 to 1.3.8 in /examples/razzle-ssr [`#24`](https://github.com/felixmosh/i18next-hmr/pull/24) | ||
@@ -15,3 +22,3 @@ - Bump ini from 1.3.5 to 1.3.8 in /examples/next-with-next-i18next-without-custom-server [`#25`](https://github.com/felixmosh/i18next-hmr/pull/25) | ||
- Bump dev-deps [`d4604c9`](https://github.com/felixmosh/i18next-hmr/commit/d4604c9f96db9fe50e85b68ad74d16b2174dfa4e) | ||
- Update bug_report.md [`eb78fd1`](https://github.com/felixmosh/i18next-hmr/commit/eb78fd1a79af33f8ca6bc76fe38736a39aa08931) | ||
- Release 1.7.0 [`c3f397b`](https://github.com/felixmosh/i18next-hmr/commit/c3f397b0df4ee86b169dd8999b448232fc77c2a2) | ||
@@ -18,0 +25,0 @@ #### [v1.6.3](https://github.com/felixmosh/i18next-hmr/compare/v1.6.2...v1.6.3) |
{ | ||
"name": "i18next-hmr", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"description": "I18Next HMR webpack plugin that allows reloading translation resources on the client & the server.", | ||
@@ -26,3 +26,2 @@ "homepage": "https://github.com/felixmosh/i18next-hmr", | ||
"license": "MIT", | ||
"dependencies": {}, | ||
"devDependencies": { | ||
@@ -29,0 +28,0 @@ "@types/jest": "^25.2.3", |
# i18next-hmr | ||
[![npm](https://img.shields.io/npm/v/i18next-hmr.svg)](https://www.npmjs.com/package/i18next-hmr) | ||
[![CircleCI](https://circleci.com/gh/felixmosh/i18next-hmr.svg?style=svg)](https://circleci.com/gh/felixmosh/i18next-hmr) | ||
![CI](https://github.com/felixmosh/i18next-hmr/workflows/CI/badge.svg) | ||
@@ -10,3 +10,3 @@ I18Next HMR🔥 webpack plugin that allows reloading translation resources on the client & the server | ||
- Node.js v8 or above | ||
- Node.js v10 or above | ||
- Webpack 4.x - 5.x | ||
@@ -83,3 +83,3 @@ | ||
⚠️ If your server side is bundled using webpack, the lib will use the native HMR (if enabled), for it work properly the lib should be bundled, therefore, you should specify the lib as not [external](https://webpack.js.org/configuration/externals/). | ||
⚠️ If your server side is bundled using Webpack, the lib will use the native HMR (if enabled), for it work properly the lib must be **bundled**, therefore, you should specify the lib as not [external](https://webpack.js.org/configuration/externals/). | ||
There are 2 ways to do that: | ||
@@ -99,3 +99,3 @@ | ||
The lib will invoke webpacks HMR to update client side, that will re-fetch (with cache killer) the updated translation json, and trigger [`i18n.changelanguage(lang)`](https://www.i18next.com/overview/api#changelanguage) to trigger listeners (in React app it will update the UI). | ||
The lib will invoke Webpack's HMR to update client side, that will re-fetch (with cache killer) the updated translation files and trigger [`i18n.changelanguage(lang)`](https://www.i18next.com/overview/api#changelanguage) to trigger listeners (which in React apps it will update the UI). | ||
@@ -102,0 +102,0 @@ ## Example |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26918
19