@alienfast/i18next-loader
Advanced tools
Comparing version 1.0.8 to 1.0.9
{ | ||
"name": "@alienfast/i18next-loader", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "Webpack loader for client embedded i18next locales from json or yaml.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -8,4 +8,3 @@ # @alienfast/i18next-loader | ||
This webpack loader generates the `resources` structure necessary for [i18next](https://github.com/i18next/i18next). | ||
The structure is webpacked with the client bundle at build time, thus avoiding loading any language resources via extra HTTP requests. | ||
This webpack loader generates the `resources` structure necessary for [i18next](https://github.com/i18next/i18next). The structure is webpacked with the client bundle at build time, thus avoiding loading any language resources via extra HTTP requests. | ||
@@ -22,3 +21,3 @@ ## Features | ||
See the `test/data` directory for structure and example data. | ||
See the [`test/data` directory](https://github.com/alienfast/i18next-loader/tree/develop/test/data) for structure and example data. | ||
@@ -107,3 +106,3 @@ ## Usage | ||
#### Json but exclude one file | ||
#### All json except one file | ||
```javascript | ||
@@ -113,5 +112,5 @@ {include: ['**/*.json', '!**/excludeThis.json']} | ||
### Inheritance/Override | ||
Applications that reuse libraries, or need white label/branding capability can utilize one to many sets of locales that | ||
the app will override. Read the query string as `app` overrides `[../node_modules/lib1, ../node_modules/lib2]`. | ||
### Overriding/White labeling | ||
Applications that reuse libraries e.g. white labeling, can utilize one to many sets of locale directories that | ||
the app will override. | ||
@@ -141,3 +140,3 @@ ```javascript | ||
Everthing from `app/locales` will override anything specified in one to many libraries. | ||
Everything from `app/locales` will override anything specified in one to many libraries. | ||
@@ -144,0 +143,0 @@ ## Credit |
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
237592
142