@alienfast/i18next-loader
Advanced tools
Comparing version 1.0.4 to 1.0.5
{ | ||
"name": "@alienfast/i18next-loader", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Webpack loader for client embedded i18next locales from json or yaml.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -40,3 +40,3 @@ # @alienfast/i18next-loader | ||
import i18n from 'i18next' | ||
import resources from 'i18next-resource-store-loader!../locales/index.js' | ||
import resources from '@alienfast/i18next-loader!../locales/index.js' | ||
@@ -63,3 +63,3 @@ i18n.init({ | ||
```javascript | ||
import resources from "i18next-resource-store-loader?{include: ['**/*.json']}!../locales/index.js" | ||
import resources from "@alienfast/i18next-loader?{include: ['**/*.json']}!../locales/index.js" | ||
``` | ||
@@ -69,3 +69,3 @@ | ||
```javascript | ||
import resources from "i18next-resource-store-loader?{include: ['**/*.json', '!**/excludeThis.json']}!../locales/index.js" | ||
import resources from "@alienfast/i18next-loader?{include: ['**/*.json', '!**/excludeThis.json']}!../locales/index.js" | ||
``` | ||
@@ -78,3 +78,3 @@ | ||
```javascript | ||
import resources from "i18next-resource-store-loader?{overrides: ['../node_modules/lib1/locales']}!../locales/index.js" | ||
import resources from "@alienfast/i18next-loader?{overrides: ['../node_modules/lib1/locales']}!../locales/index.js" | ||
``` | ||
@@ -81,0 +81,0 @@ This configures the loader to work on a file structure like the following: |
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
236905