Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@alienfast/i18next-loader

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alienfast/i18next-loader - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc