Skip to content

Commit

Permalink
chore: prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio Moreno committed May 18, 2021
1 parent 4b7d0e2 commit f95a467
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
20 changes: 18 additions & 2 deletions packages/detect-locale/npm/esm/index.js
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion packages/react/npm/esm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

1 comment on commit f95a467

@vercel
Copy link

@vercel vercel bot commented on f95a467 May 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.