@lingui/react
Advanced tools
Comparing version 3.10.0 to 3.10.1
@@ -1,1 +0,12 @@ | ||
export * from "./react.production.min"; | ||
import { | ||
I18nProvider as devI18nProvider, Trans as devTrans, useLingui as devuseLingui, withI18n as devwithI18n | ||
} from "./react.development.js" | ||
import { | ||
I18nProvider as I18nProviderProd, Trans as TransProd, useLingui as useLinguiProd, withI18n as withI18nProd | ||
} from "./react.production.min.js" | ||
export const I18nProvider = process.env.NODE_ENV === "production" ? I18nProviderProd : devI18nProvider; | ||
export const Trans = process.env.NODE_ENV === "production" ? TransProd : devTrans; | ||
export const useLingui = process.env.NODE_ENV === "production" ? useLinguiProd : devuseLingui; | ||
export const withI18n = process.env.NODE_ENV === "production" ? withI18nProd : devwithI18n; |
{ | ||
"name": "@lingui/react", | ||
"version": "3.10.0", | ||
"version": "3.10.1", | ||
"description": "React components for translations", | ||
@@ -45,3 +45,3 @@ "main": "index.js", | ||
"@babel/runtime": "^7.11.2", | ||
"@lingui/core": "^3.10.0" | ||
"@lingui/core": "^3.10.1" | ||
}, | ||
@@ -48,0 +48,0 @@ "devDependencies": { |
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
51200
720
5
Updated@lingui/core@^3.10.1