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.7 to 1.0.8

2

package.json
{
"name": "@alienfast/i18next-loader",
"version": "1.0.7",
"version": "1.0.8",
"description": "Webpack loader for client embedded i18next locales from json or yaml.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -8,4 +8,10 @@ # @alienfast/i18next-loader

This webpack loader generates the `resources` structure necessary for **i18next**. The structure is webpacked wthith the
client bundle, 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.
## Features
- glob based file filtering
- one to many overrides supporting reuse cases (white labeling)
- yaml and json support

@@ -96,3 +102,3 @@ Given a locales directory, by default, the loader will find and parse any `json|yaml|yml` file and attribute the

#### Only json
```json
```javascript
{include: ['**/*.json']}

@@ -102,3 +108,3 @@ ```

#### Json but exclude one file
```json
```javascript
{include: ['**/*.json', '!**/excludeThis.json']}

@@ -111,3 +117,3 @@ ```

```json
```javascript
{overrides: ['../node_modules/lib1/locales']}

@@ -114,0 +120,0 @@ ```

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