diff --git a/packages/detect-locale/npm/esm/index.js b/packages/detect-locale/npm/esm/index.js index f31f9c69c..178dd29c5 100644 --- a/packages/detect-locale/npm/esm/index.js +++ b/packages/detect-locale/npm/esm/index.js @@ -1,9 +1,25 @@ import { - detectDev, fromCookieDev, fromHtmlTagDev, fromNavigatorDev, fromPathDev, fromStorageDev, fromSubdomainDev, fromUrlDev, multipleDetectDev + detect as detectDev, + fromCookie as fromCookieDev, + fromHtmlTag as fromHtmlTagDev, + fromNavigator as fromNavigatorDev, + fromPath as fromPathDev, + fromStorage as fromStorageDev, + fromSubdomain as fromSubdomainDev, + fromUrl as fromUrlDev, + multipleDetect as multipleDetectDev, } from "./detect-locale.development.js" import { - detectProd, fromCookieProd, fromHtmlTagProd, fromNavigatorProd, fromPathProd, fromStorageProd, fromSubdomainProd, fromUrlProd, multipleDetectProd + detect as detectProd, + fromCookie as fromCookieProd, + fromHtmlTag as fromHtmlTagProd, + fromNavigator as fromNavigatorProd, + fromPath as fromPathProd, + fromStorage as fromStorageProd, + fromSubdomain as fromSubdomainProd, + fromUrl as fromUrlProd, + multipleDetect as multipleDetectProd, } from "./detect-locale.production.min.js" export const detect = process.env.NODE_ENV === "production" ? detectProd : detectDev; diff --git a/packages/react/npm/esm/index.js b/packages/react/npm/esm/index.js index 7ccd97c3a..6c91ac7df 100644 --- a/packages/react/npm/esm/index.js +++ b/packages/react/npm/esm/index.js @@ -3,7 +3,7 @@ import { } from "./react.development.js" import { - I18nProviderProd, TransProd, useLinguiProd, withI18nProd + 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;