vite-plugin-i18n-ally
Advanced tools
Comparing version 5.2.6 to 5.2.7
@@ -93,5 +93,7 @@ import { resources } from 'virtual:i18n-ally-async-resource'; | ||
static warnFallback(language) { | ||
console.warn( | ||
`[${name}]: Current language '${language}' not found in locale resources, fallback to '${this.options.fallbackLng}'` | ||
); | ||
if (language !== this.options.fallbackLng) { | ||
console.warn( | ||
`[${name}]: Current language '${language}' not found in locale resources, fallback to '${this.options.fallbackLng}'` | ||
); | ||
} | ||
} | ||
@@ -98,0 +100,0 @@ static async init() { |
{ | ||
"name": "vite-plugin-i18n-ally", | ||
"version": "5.2.6", | ||
"version": "5.2.7", | ||
"description": "Vite plugin for automatic lazy loading of i18n resources", | ||
@@ -58,3 +58,4 @@ "type": "module", | ||
"json5": "^2.2.3", | ||
"language-tags": "^1.0.9" | ||
"language-tags": "^1.0.9", | ||
"picocolors": "^1.1.1" | ||
}, | ||
@@ -94,3 +95,3 @@ "devDependencies": { | ||
"vitest-e2e": "^0.0.10", | ||
"vite-plugin-i18n-ally": "5.2.6" | ||
"vite-plugin-i18n-ally": "5.2.7" | ||
}, | ||
@@ -97,0 +98,0 @@ "simple-git-hooks": { |
@@ -30,2 +30,1 @@ <p align="center"> | ||
Distributed under the [MIT license](/LICENSE.md). | ||
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
180995
5111
9
30
+ Addedpicocolors@^1.1.1